Chef is playing a mobile game. In the game, Chef's character *Chefario* can perform special attacks. However, one special attack costs X mana points to Chefario. 

If Chefario currently has Y mana points, determine the maximum number of special attacks he can perform.

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

- The first line contains a single integer T — the number of test cases. Then the test cases follow.
- The first and only line of each test case contains two space-separated integers X and Y — the cost of one special attack and the number of mana points Chefario has initially.

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

For each test case, output the maximum number of special attacks Chefario can perform.

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

$1 ≤ T ≤ 10^{5}$
$1 ≤X ≤100$
$1 ≤Y ≤1000$

----- Sample Input 1 ------ 
3
10 30
6 41
50 2

----- Sample Output 1 ------ 
3
6
0

----- explanation 1 ------ 
Test case $1$: Chefario can perform a maximum of $3$ special attacks which will cost him $30$ mana points.

Test case $2$: Chefario can perform a maximum of $6$ special attacks which will cost him $36$ mana points. Note that Chefario can not perform $7$ special attacks as these will cost him $42$ mana points while he has only $41$ mana points.

Test case $3$: Chefario will not be able to perform any special attacks in this case.

Difficulty: EASY
Tags: Mathematics

Starter code:

Solutions:
t = int(input())
for _ in range(t):
	(x, y) = map(int, input().split())
	print(y // x)


for i in range(int(input())):
	(x, y) = map(int, input().split())
	print(y // x)


a = int(input())
for i in range(a):
	(a, b) = map(int, input().split(' '))
	print(b // a)


t = int(input())
for i in range(t):
	(a, b) = map(int, input().split())
	n = b // a
	print(n)


t = int(input())
for i in range(0, t):
	(x, y) = map(int, input().split())
	print(y // x)


t = int(input())
for _ in range(t):
	(a, b) = input().split()
	print(int(b) // int(a))


T = int(input())
for i in range(T):
	(X, Y) = map(int, input().split())
	print(Y // X)


for t in range(int(input())):
	(i, j) = map(int, input().split(' '))
	ans = j // i
	print(ans)


T = int(input())
for _ in range(T):
	(X, Y) = map(int, input().split())
	print(Y // X)


test = int(input())
ans = []
while test:
	test = test - 1
	(X, Y) = [int(x) for x in input().split()]
	ans.append(int(Y // X))
for i in ans:
	print(i)


from math import floor
t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	print(floor(y / x))


test_cases = int(input())
for i in range(test_cases):
	attacks = list(map(int, input().split()))
	if attacks[0] > attacks[1]:
		print(0)
	else:
		print(max(attacks) // min(attacks))


T = int(input())
for CRICKETER in range(T):
	(X, Y) = map(int, input().split())
	if (X, Y):
		Adarsh = Y // X
		print(Adarsh)


t = int(input())
for i in range(t):
	(X, Y) = map(int, input().split())
	a = Y // X
	print(a)


for t in range(int(input())):
	(a, b) = map(int, input().split())
	print(b // a)


t = int(input())
for i in range(t):
	(a, b) = map(int, input().split())
	c = b // a
	if b < a:
		print(0)
	else:
		print(c)


t = int(input(''))
for one in range(t):
	(x, y) = map(int, input('').split(' '))
	z = y // x
	print(z)


for i in range(int(input())):
	(xs, ys) = map(int, input().split())
	print(ys // xs)


t = int(input())
for i in range(t):
	(x, y) = [int(x) for x in input().split()]
	print(int(y / x))


n = int(input())
for _ in range(n):
	(x, y) = list(map(int, input().split()))
	print(y // x)


for _ in range(int(input())):
	(a, b) = map(int, input().split())
	print(b // a)


T = int(input())
for i in range(T):
	(x, y) = map(int, input().split())
	costs = x
	points = y
	if costs <= y:
		print(points // costs)
	else:
		print('0')


n = int(input())
while n > 0:
	(a, b) = map(int, input().split())
	print(int(b // a))
	n -= 1


t = int(input())
for i in range(0, t):
	n = list(map(int, input().strip().split()))
	print(n[1] // n[0])


import math
t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	if y >= x:
		print(math.trunc(y / x))
	else:
		print(0)


for _ in range(int(input())):
	(x, l) = map(int, input().split())
	print(int(l / x))


T = int(input())
for i in range(T):
	(x, y) = map(int, input().split())
	if x % y == 0:
		print(int(y / x))
	elif x % y != 0:
		print(int(y / x))
	else:
		print(0)


T = int(input())
for t in range(T):
	(X, Y) = map(int, input().split())
	q = Y // X
	print(q)


t = int(input())
for ts in range(t):
	(x, y) = map(int, input().split(' '))
	print(int(y / x))


cases = int(input())
for case in range(cases):
	(x, y) = map(int, input().split())
	print(int(y / x))


t = int(input())
while t:
	(x, y) = map(int, input().split())
	print(int(y / x))
	t -= 1


n = int(input())
for i in range(0, n):
	(x, y) = map(int, input().split(' '))
	z = y // x
	print(z)