土拨鼠的减法题

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

愚蠢的人类憨憨学减法了, 土拨鼠瑞瑞想做一个恶作剧

Description

给出两个三位整数A,BA, B, 允许改写A,BA, B中的任意一位(可以不改), 使得ABA-B的值最大, 注意要求更改完的数据也是三位数.

Format

Input

输入一行两个整数A,BA, B.

Output

输出一行11个数字, 表示ABA-B的最大值

Samples

样例1

567 234
733

样例2

999 100
899

样例3

100 999
-99

Limitation

100A,B999100 \leq A, B \leq 999

KUNKKA做不了满分的题

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
24
Start at
2024-1-20 19:30
End at
2024-3-2 11:30
Duration
1000 hour(s)
Host
Partic.
7