Package for this problem was not updated by the problem writer or Codeforces administration after we’ve upgraded the judging servers. To adjust the time limit constraint, solution execution time will be multiplied by 2. For example, if your solution works for 400 ms on judging servers, then value 800 ms will be displayed and used to determine the verdict.

The following languages are only available languages for the problems from the contest

Surprise Language Round #6:

- Roco

Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ACM-ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

B. A + Reverse B

time limit per test

2 secondsmemory limit per test

256 megabytesinput

standard inputoutput

standard outputYou are given numbers *a* and *b*. Calculate the sum of *a* and reverse of *b*. A reverse of a number is a number which contains the same digits in reverse order. For example, reverse of 230 is 32, and reverse of 0 is 0.

Input

The input contains two integers *a* and *b* (0 ≤ *a*, *b* ≤ 10^{9}), separated by a single space. The numbers are given without leading zeros.

Output

Output the sum of *a* and reverse of *b*.

Examples

Input

5 15

Output

56

Input

73 9180

Output

892

Codeforces (c) Copyright 2010-2018 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Jun/20/2018 18:35:41 (d3).

Desktop version, switch to mobile version.

User lists

Name |
---|