Run id: 117479

------Input------
3 11 9
------Answer-----
67
------Your output-----
3