Problem Description

Bill amount amt is provided. If amt is less than 1000, no discount. If amt is 1000 or more, give 10 percent discount. Output final payable as integer (rounded down).

Input Format

One integer amt.

Output Format

One integer payable.

Sample Test Case

Input:
1200
Output:
1080

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next