human
Input

The input contains two integers a1, a2 (0 ≤ ai ≤ 32), separated by a single space.

Output

Output a single integer.

Examples

Input

1 1

Output

0

Input

3 7

Output

0

Input

13 10

Output

1
impor
assistant
#Here is the Python code you requested.
t math
import re
from fractions import Fraction
from collections import Counter

class Task:
    a, b = 0, 0
    answer = 0
    
    def __init__(self):
        self.a, self.b = [x for x in input().split()]

    def solve(self):
        a, b = self.a, self.b
        self.answer = int(a) + int(b[::-1])

    def printAnswer(self):
        print(self.answer)

task = Task()
task.solve()
task.printAnswer()