现在的位置: 首页 > 综合 > 正文

112. a^b-b^a

2018年01月22日 ⁄ 综合 ⁄ 共 197字 ⁄ 字号 评论关闭



112. ab-ba

time limit per test: 0.25 sec.
memory limit per test: 4096 KB

You are given natural numbers a and b. Find ab-ba.

Input

Input contains numbers a and b (1≤a,b≤100).

Output

Write answer to output.

Sample Input

2 3

Sample Output

-1

抱歉!评论已关闭.