#D2. mathematical calculation

mathematical calculation

Description

Output (a+b)mod9(a+b)\bmod 9

Format

Input

One line, separated by a space, aa and bb.

Output

An integer, (a+b)(a+b)%9

Samples

input1

3 6

output1

0

Instructions

75%75\% of the samples have n105n \leq10 ^ 5 and n0n ≥0 100%100\% sample n10100n \leq10 ^ {100} and n0n ≥0