#F. A - Signed Difficulty

    传统题 1000ms 256MiB

A - Signed Difficulty

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

A - Signed Difficulty

Score : $100$ points

Problem Statement

You are given a real number $X.Y$, where $Y$ is a single digit.

Print the following: (quotes for clarity)

  • $X$-, if $0 \leq Y \leq 2$;
  • $X$, if $3 \leq Y \leq 6$;
  • $X$+, if $7 \leq Y \leq 9$.

Constraints

  • $1 \leq X \leq 15$
  • $0 \leq Y \leq 9$
  • $X$ and $Y$ are integers.

Input

Input is given from Standard Input in the following format:

X.YX.Y

Output

Print the answer.


15.8
15+

Here, printing 15 + will not be accepted: do not print a space between $X$ and +, or between $X$ and -.


1.0
1-

You will not get inputs such as 1.00 and 1.


12.5
12

2025寒假ATC码力训练营第五次练习

未参加
状态
已结束
规则
IOI
题目
6
开始于
2025-1-23 13:00
结束于
2025-1-23 14:30
持续时间
1.5 小时
主持人
参赛人数
6