# PROBLEM LINK:

* Author:* Riddhish Lichade

*Ram Agrawal*

**Tester:***Prathamesh Sogale*

**Editorialist:**# DIFFICULTY:

CAKEWALK

# PREREQUISITES:

None

# PROBLEM:

Meena has N Rupees in his bank account. His monthly expenses are X rupees. Meena wants to find for how many months can he go on without earning a single rupee.

# EXPLANATION:

Meena spends X rupees every month and he is currently having N rupees. So, he can go on without earning for N/X months.

So, ans=N/X

# SOLUTIONS:

## Setter's Solution

```
from sys import stdin
for _ in range(int(stdin.readline())):
n, x = map(int, stdin.readline().strip().split())
ans=n//x
print(ans)
```