eolymp
Competitions

Азербайджан - подготовка. Март 18

Fun function

Find the value of the function

prb8304.gif

Input

Two integers x, y (0x, y50).

Output

Print the value of the function f(x,y).

Time limit 1 second
Memory limit 128 MiB
Input example #1
2 3
Output example #1
4
Input example #2
34 12 
Output example #2
6
Author Mykhailo Medvediev