Now, if numbers are written in reverse order, we get 397113
Similarly for LEAVE,
Now, writing the numbers in reverse order we get 5221512
Hence, “LEAVE” is coded as “5221512”.