e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more

081

081

Time limit 1 second
Memory limit 64 MiB
Input example #1
7 7 3
Output example #1
17
Input example #2
4 6 9
Output example #2
No