In Ciel's restaurant, a waiter is training.
Since the waiter isn't good at arithmetic, sometimes he gives guests wrong change.
Ciel gives him a simple problem.
What is A-B (A minus B) ?

Surprisingly, his answer is wrong.
To be more precise, his answer has exactly one wrong digit.
Can you imagine this?
Can you make the same mistake in this problem?

------ Input ------ 

An input contains 2 integers A and B.

------ Output ------ 

Print a wrong answer of A-B.
Your answer must be a positive integer containing the same number of digits as the correct answer, and exactly one digit must differ from the correct answer.
Leading zeros are not allowed.
If there are multiple answers satisfying the above conditions, anyone will do.

------ Constraints ------ 

1 ≤ B < A ≤ 10000

----- Sample Input 1 ------ 
5858 1234
----- Sample Output 1 ------ 
1624
----- explanation 1 ------ 

The correct answer of 5858-1234 is 4624.
So, for instance, 2624, 4324, 4623, 4604 and 4629 will be accepted, but 0624, 624, 5858, 4624 and 04624 will be rejected.

Notes

The problem setter is also not good at arithmetic.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
import random
text_inp = input()
(A, B) = text_inp.split(' ')
ans = int(A) - int(B)
rand_digit = random.randrange(0, len(str(ans)))
dig_to_change = int(str(ans)[rand_digit])
new_dig = dig_to_change
while not new_dig != dig_to_change:
	new_dig = random.randrange(1, 9)
solution = list(str(ans))
solution[rand_digit] = str(new_dig)
solution = ''.join(solution)
print(solution)


(a, b) = map(int, input().split())
if a < b:
	(a, b) = (b, a)
a = str(a - b)
if len(a) == 1:
	if a == '1':
		print(2)
	else:
		print(1)
else:
	v = '1'
	if a[0] == '1':
		v = '2'
	a = v + a[1:]
	print(int(a))


(a, b) = map(int, input().split())
d = a - b
l = list(str(d))
for i in range(1, 10):
	if str(i) != l[0]:
		l[0] = str(i)
		break
print(''.join(l))


def wrong_answer(c):
	s = str(c)
	s1 = ''
	if s[0] != '1':
		s1 = s1 + '1'
		s1 = s1 + s[1:]
		return s1
	else:
		s1 = s1 + '9'
		s1 = s1 + s[1:]
		return s1
(A, B) = map(int, input().split())
print(wrong_answer(A - B))


(a, b) = map(int, input().split())
s = list(str(a - b))
if s[0] != '1':
	s[0] = '1'
else:
	s[0] = '2'
print(''.join(s))


(A, B) = map(int, input().split())
c = A - B
s = str(c)
A = ['1', '2', '3', '4', '5', '6', '7', '8', '9']
s1 = ''
for j in A:
	if j not in s:
		s1 = s1 + j
		break
s2 = s[1:]
print(int(s1 + s2))


(a, b) = input().split()
diff = str(int(a) - int(b))
out = ''
for x in range(0, len(diff)):
	if x == 0:
		if diff[0] != '1':
			out = out + '1'
		else:
			out = out + '2'
	else:
		out = out + diff[x]
print(out)