Find LCM first
2 |20,30,40
2 |10,15,20
2 |5,15,10
3 |5,15,5
5 |5,5,5
. |1,1,1
Now remainder is 7
The number is 120+7=127
6.6m questions
8.8m answers