#Lutece1046. A+B Problem

A+B Problem

Migrated from Lutece 1046 A+B Problem

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

Calculate a+ba+b.

In this problem, aa and bb may be presented as Octal, Decimal or Hexadecimal.

Input

Two integer a,b(0a,b<1610000)a,b (0 \leq a,b < 16^{10000})

Each line contains one integer.

Output

Output a+ba+b as a Decimal number.

Samples

1
02
3
0X2
0x3
5

Resources

Fish