There exists one logic in between input and output. Find it (easy math).
Example 1:
x=13 then y=339;
Example 2:
x=26 then y=1353;