Problem Description

Input x lo hi. Print x clamped inside [lo,hi].

Input Format

One line: x lo hi.

Output Format

One integer.

Sample Test Case

Input:
15 0 10
Output:
10

Constraints

lo

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next