#P199. 【例33.2】 两位数
【例33.2】 两位数
Description
Given a two-digit number, the sum of its tens and units digits is , and the difference between the tens and units digits (larger minus smaller) is . Can you determine what this two-digit number is?
Input Format
The first line contains two integers and (, ).
Output Format
Output a single line containing an integer, representing the two-digit number. If there are multiple solutions, output the smallest one.
Sample
3 112