There are several possibilities as shown below:
Rupesh (8 coins) Rajat ( 7 coins) Ram (6 coins)
1 7,6,5,4,3 2,3,4,5,6 5 options
2 7,6,5,4,3,2 1,2,3,4,5,6 6 options
3 7,6,5,4,3,2,1 0,1,2,3,4,5,6 7 options
4 6,5,4,3,2,1,0 0,1,2,3,4,5,6 7 options
5 5,4,3,2,1,0 0,1,2,3,4,5, 6 options
6 4,3,2,1,0 0, 1,2,3,4 5 options
7 3,2,1,0 0, 1,2,3 4 options
8 2,1,0 0,,1,2 3 options
The answer is 43