If Lalita is ninth from the front and thirteenth from the back in a row, how many people are there in that row ?
21
In a single row, total number of people = position from the front + position from the back − 1.
We subtract 1 because the person whose positions are given is counted in both counts.
Lalita is 9th from the front (8 people ahead of her) and 13th from the back (12 people behind her).
Total = 9 + 13 − 1 = 21, or equivalently 8 + 1 + 12 = 21. Adding without subtracting gives 22, and 18, 25 and 29 do not match either count.
Hence, 21.
If 1 is added to each odd digit and 2 is subtracted from each even digit in the number 8317456, what will be the sum of the digits that are second from the left and second from the right?