#CCBCMCHIN0000012. Thuộc đoạn đóng (Inside a Closed Interval)

Thuộc đoạn đóng (Inside a Closed Interval)

Inside a Closed Interval

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given integers l,r,xl,r,x with l≤rl\le r, determine whether xx belongs to the closed interval [l,r][l,r]. Both endpoints are included.

Input

One line with three integers l,r,xl,r,x in that order.

Output

Print YES if l≤x≤rl\le x\le r; otherwise print NO.

Subtasks

  • Subtask 1 (20 points): −20≤L,R≤20-20\le L,R\le 20, −20≤x≤20-20\le x\le 20; L≤RL\le R.
  • Subtask 2 (30 points): −1000≤L,R≤1000-1000\le L,R\le 1000, −2000≤x≤2000-2000\le x\le 2000; L≤RL\le R.
  • Subtask 3 (50 points): −1000000000≤L,R≤1000000000-1000000000\le L,R\le 1000000000, −1000000000≤x≤1000000000-1000000000\le x\le 1000000000; L≤RL\le R.

Examples

Example 1

Input

2 6 2

Output

YES

Explanation

The input gives 2, 6, 2. 2 <= 2 is True, and 2 <= 6 is True. Therefore the required output is ['YES'].

Example 2

Input

2 6 7

Output

NO

Explanation

The input gives 2, 6, 7. 2 <= 7 is True, and 7 <= 6 is False. Therefore the required output is ['NO'].