# PROBLEM LINK:

Practice

Contest: Division 1

Contest: Division 2

Contest: Division 3

Contest: Division 4

* Authors:* shubham_grg

*iceknight1093, tabr*

**Testers:***iceknight1093*

**Editorialist:**# DIFFICULTY:

TBD

# PREREQUISITES:

None

# PROBLEM:

Chef has X liters of fuel, each of which allows him to travel 5 km.

Chef’s house is Y km away. Will he be able to reach it?

# EXPLANATION:

The maximum distance Chef can travel is 5X kilometers, by using all his fuel.

So, the answer is “Yes” if 5X \leq Y 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 y < 5*x else 'No')
```