#732. attention 2

attention 2

当前没有测试数据。

Background

attention is all you need

Description

LargeRice16pro 在跑 50m,从位置 0 出发跑到位置 n+1。

Fantasy_Blue 看到了,他不想 LargeRice16pro 太快结束,于是使用魔法放置了 kk 组传送门,每组传送门有两扇门,若第 ii 组传送门位于位置 xx 和位置 yyx<yx<y,那么 LargeRice16pro 跑到位置 xx 时,会被传送到 yy,跑到 yy 时会被传送到 xx(传送门不会连续触发,传送到 yy 后,不会立刻传送到 xx)。

但是 Fantasy_Blue 一开始睡着了,当他想起来放置传送门时,LargeRice16pro 已经跑到位置 ss 了,请问此时 Fantasy_Blue 有多少种放置传送门的方式,使得 LargeRice16pro 会跑不少于 100m 的距离。

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.