*Each contest - there are approximately 1500 - 2000 users who participate for the 1st time and get rated.*

*The Chef wanted to tell new users some tricks for their 1st contest:*
*Before the contest - you don’t have any rating. So even if you make a single submission - you will become part of the contest rank list and you will get a rating.*
*If you want your rating to increase - give the entire 3 hours to the contest & don’t quit! If you keep trying till the end, and the more time you get, the more problems you can solve. That means larger rating increases!*
*Do not ask your friends for their code. If you copy paste their code, you will get caught during plagiarism checks and your rating will be reduced by 275 points, along with a permanent black mark on your profile.*

Now to the problem:

In a contest where N new users visited the contest, 
A users just saw the problems and didn’t make any submissions and hence won’t get any rating.
B users who made a submission but could not solve any problem correctly. Thus, after the contest, they will get a rating in the range 800 - 1000.
Everyone else could correctly solve at least 1 problem. Thus, they will get a rating strictly greater than 1000 after the contest.

You need to output the number of new users in the contest who, after the contest, will get a rating and also the number of new users who will get a rating strictly greater than 1000.

------ Input Format ------ 

- Each input file contains of a single line, with three integers N, A and B - the number of new users, the number of users who just saw the problem and didn't make any submission, and the number of users who made a submission but could not solve any problem correctly.

------ Output Format ------ 

Output two integers separated by a space in a single line - the number of new users who will get a rating at the end of the contest and the number of new users who will get a rating higher than 1000.

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

$2 ≤ N ≤ 1000$
$1 ≤ A ≤ 1000$
$1 ≤ B ≤ 1000$
$A + B ≤ N$

----- Sample Input 1 ------ 
10 3 2

----- Sample Output 1 ------ 
7 5

----- explanation 1 ------ 
There were $10$ new users. Among those $10$, $3$ didn't make any submissions. This means that the other $10 - 3 = 7$ users made submissions and will get a rating. This is the first integer of the output. 

Now, among these $7$ users, $2$ couldn't solve any problem even though they submitted and tried. So, they will get a rating less than equal to $1000$. The other $7 - 2 = 5$ users were able to solve at least $1$ problem and hence will get a rating greater than $1000$. Hence, the second integer of the output is $5$.

----- Sample Input 2 ------ 
10 4 1

----- Sample Output 2 ------ 
6 5

----- explanation 2 ------ 
There were $10$ new users. Among those $10$, $4$ didn't make any submissions. This means that the other $10 - 4 = 6$ users made submissions and will get a rating. This is the first integer of the output. 

Now, among these $6$ users, $1$ couldn't solve any problem even though they submitted and tried. So, they will get a rating less than equal to $1000$. The other $6 - 1 = 5$ users were able to solve at least $1$ problem and hence will get a rating greater than $1000$. Hence, the second integer of the output is $5$.

----- Sample Input 3 ------ 
20 1 2

----- Sample Output 3 ------ 
19 17

----- explanation 3 ------ 
There were $20$ new users. Among those $20$, $1$ didn't make any submissions. This means that the other $20 - 1 = 19$ users made submissions and will get a rating. This is the first integer of the output. 

Now, among these $19$ users, $2$ couldn't solve any problem even though they submitted and tried. So, they will get a rating less than equal to $1000$. The other $19 - 2 = 17$ users were able to solve at least $1$ problem and hence will get a rating greater than $1000$. Hence, the second integer of the output is $17$.

----- Sample Input 4 ------ 
1000 300 700

----- Sample Output 4 ------ 
700 0

----- explanation 4 ------ 
There were $1000$ new users. Among those $1000$, $300$ didn't make any submissions. This means that the other $1000 - 300 = 700$ users made submissions and will get a rating. This is the first integer of the output. 

Now, among these $700$ users, $700$ couldn't solve any problem even though they submitted and tried. So, they will get a rating less than equal to $1000$. The other $700 - 700 = 0$ users were able to solve at least $1$ problem and hence will get a rating greater than $1000$. Hence, the second integer of the output is $0$.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
(t, s, u) = map(int, input().split())
print(t - s, t - s - u)


(n, x, y) = map(int, input('').split())
n = n - x
a = n - y
print(n, a)


(x, y, z) = map(int, input().split())
a = x - y
print(a, a - z)


(x, y, z) = map(int, input().split())
n = x - y
r = n - z
print(n, r)


(x, y, z) = map(int, input().split())
k = x - y
r = k - z
print(k, end=' ')
print(r)


(a, b, c) = map(int, input().split())
d = a - b
print(d, d - c)


(N, A, B) = map(int, input().split())
made_sub = N - A
print(made_sub, end=' ')
print(made_sub - B)


(N, A, B) = map(int, input().split())
N = N - A
X = N - B
print(N, X)


(n, a, b) = map(int, input().split())
user = n - a
ratedhigher = user - b
print(user, ratedhigher)


(N, A, B) = map(int, input().split())
print(f'{N - A} {N - A - B}')


(a, b, c) = list(map(int, input().split()))
d = a - b
print(d, end=' ')
print(d - c)


(n, a, b) = map(int, input().split())
print(n - a, n - (a + b))


(p, q, r) = map(int, input().split())
print(p - q, p - q - r)


(N, A, B) = [int(x) for x in input().split()]
print(f'{N - A} {N - A - B}')


(x, y, z) = map(int, input().split())
first = x - y
res = first - z
print(first, res, sep=' ')


(a, b, c) = map(int, input().split())
x = a - b
y = x - c
print(str(x) + ' ' + str(y))


(N, A, B) = map(int, input().split())
get_rating = N - A
get_ratingthou = N - A - B
print(get_rating, get_ratingthou)


(a, b, c) = [int(x) for x in input().split(' ')]
print(int(a) - int(b), int(a) - (int(b) + int(c)))


(N, A, B) = map(int, input().split())
submitted = N - A
submitted_correctly = submitted - B
print(submitted, submitted_correctly)


(N, A, B) = map(int, input().split())
total = N - A
greater = total - B
print(total, ' ', greater)


(N, A, B) = map(int, input().split(' '))
T = N - A
G = T - B
print(T, ' ', G)


inpt = [int(x) for x in input().split()]
a = inpt[0]
b = inpt[1]
c = inpt[2]
print(a - b, a - b - c)


(n, a, b) = map(int, input().split())
z = n - a
y = z - b
print(z, y)


lst = list(map(int, input().split()))
print(lst[0] - lst[1], lst[0] - (lst[1] + lst[-1]))


(a, b, c) = list(map(int, input().split()))
print(str(a - b) + ' ' + str(a - b - c))


(N, A, B) = map(int, input().split())
submission = N - A
great = submission - B
print(submission, great)


(N, A, B) = map(int, input().split())
Z = N - A
print(Z, Z - B)


(a, b, c) = map(int, input().split())
print(a - b, end=' ')
print(a - b - c)


(m, n, t) = map(int, input().split())
print(m - n, m - n - t)


(a, b, c) = map(int, input('').split())
n = a - b
x = a - b - c
print(n, x)


def contest():
	a = list(map(int, input().split()))
	(x, y, z) = a
	j = x - y
	k = j - z
	print(j, k)
contest()


(n, a, b) = [int(i) for i in input().split()]
print(n - a, n - a - b)


(n, a, b) = [int(x) for x in input().split()]
user = n - a
rem = user - b
print(user, rem)


(n, a, b) = map(int, input().split())
z = n - a
w = z - b
print(z, w)


(n, f, s) = map(int, input().split())
print(n - f, n - f - s)


(n, a, b) = map(int, input().split())
z = n - a
z2 = z - b
print(z, z2, sep=' ')


data = list(map(int, input().split()))
submissions = data[0] - data[1]
solved = submissions - data[-1]
print(submissions, solved)


a = list(map(int, input().split()))
x = a[0] - a[1]
y = x - a[2]
print(x, y)


(x, y, z) = map(int, input().split(' '))
print(x - y, end=' ')
print(x - y - z, end=' ')


(N, A, B) = map(int, input().split())
C = N - A
D = C - B
print(C, D)


l = list(map(int, input().strip().split()))
print(l[0] - l[1], l[0] - l[1] - l[2])


(N, X, Y) = map(int, input().split())
z = N - X
b = N - (X + Y)
print(z, b)


(s, k, m) = map(int, input().split())
l = s - k
j = l - m
print(l, j)


(n, a, b) = map(int, input().split())
d = n - a
s = d - b
print(d, s)


(n, a, b) = map(int, input().split())
s1 = abs(n - a)
s2 = abs(s1 - b)
print(s1, s2)


(a, b, c) = map(int, input().split())
s = a - b
g = s - c
print(s, g)


(a, b, c) = map(int, input().split())
s = a - b
s1 = s - c
print(s, s1)


(N, A, B) = map(int, input().split())
x = N - A
y = A + B
z = N - y
print(x, z)


(n, a, b) = map(int, input().split())
k = n - a
l = k - b
print(k, l)