# PROBLEM LINK:

Practice

Contest: Division 1

Contest: Division 2

Contest: Division 3

Contest: Division 4

* Authors:* d_k_7386

*tabr*

**Tester:***iceknight1093*

**Editorialist:**# DIFFICULTY:

471

# PREREQUISITES:

None

# PROBLEM:

Chef has X liters of petrol, each of which lets him travel 15 km.

The distance between his house and DAIICT is Y km. Will he be able to travel there and back?

# EXPLANATION:

Since Chef needs to travel there and back, the total distance is 2Y km.

With X liters of petrol, Chef can travel upto 15X km.

So, the answer is “Yes” if 2Y \leq 15X and “No” otherwise.

# TIME COMPLEXITY

\mathcal{O}(1) per test case.

# CODE:

## Editorialist's code (Python)

```
for _ in range(int(input())):
x, y = map(int, input().split())
print('Yes' if 15*x >= 2*y else 'No')
```