Problem2237--Signed Difficulty

2237: Signed Difficulty

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Time Limit: 2 sec / Memory Limit: 1024 MB

Score : 100100 points

Problem Statement

You are given a real number X.YX.Y, where YY is a single digit.
Print the following: (quotes for clarity)
  • XX-, if 0 \leq Y \leq 20Y2;
  • XX, if 3 \leq Y \leq 63Y6;
  • XX+, if 7 \leq Y \leq 97Y9.

Constraints

  • 1 \leq X \leq 151X15
  • 0 \leq Y \leq 90Y9
  • XX and YY are integers.

Input

Input is given from Standard Input in the following format:
X.YX.Y

Output

Print the answer.

Sample Input Copy

15.8

Sample Output Copy

15+

Source/Category