Three day work or Ram, Rahim and Robert = 1/7 + 1/8 + 1/6
= (24 + 21 + 28)/168 = 73/168
Their six days work = (2 x 73)/168 = 146/168 = 73/84
Now, its Ram's turn to work on seventh day.
∴ 73/84 + 1/7 = 73 + 12/84 = 85/84 > 1
So, Ram will finish the work before the end of day.
Hence, Ram is working for the last day.