#734. attention 4

attention 4

当前没有测试数据。

Background

attention is you need.

Description

有一天,LargeRice16pro 迷失在一个完整的无向图 G 中,这个图有 nn 个顶点,每个顶点 ii 都与一个魔法参数 cic_i ​相关联。对于每一对顶点 (i,j)(i,j),存在一条连接它们的无向边,其权重为 wi,j=cicjw_{i,j}=c_i\oplus c_j

qq 次询问,LargeRice16pro 想知道位于点 ss,走到 tt 点,最少需要多少的代价。

Format

Input

Two integers x and y, satisfying 0x,y327670\leq x,y\leq 32767 .

Output

One integer, the sum of x and y.

Samples

123 500
623

Limitation

1s, 1024KiB for each test case.