A - Thermometer Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MiB

配点 : 100

問題文

高橋君は自分の体温を計測し、 X {}^\circC であることがわかりました。

体温は次の 3 種類に分類されます。

  • 38.0 {}^\circC 以上のとき「高熱」
  • 37.5 {}^\circC 以上 38.0 {}^\circC 未満のとき「発熱」
  • 37.5 {}^\circC 未満のとき「平熱」

高橋君の体温は何に分類されるでしょうか?「出力」の項にしたがって整数で出力してください。

制約

  • 30 \leq X \leq 50
  • X は小数第一位まで与えられる

入力

入力は以下の形式で標準入力から与えられる。

X

出力

高橋君の体温が何に分類されるかを以下に定められる整数で出力せよ。

  • 高熱の場合: 1
  • 発熱の場合: 2
  • 平熱の場合: 3

入力例 1

40.0

出力例 1

1

高橋君の体温は 40.0 {}^\circC であるため、高熱に分類されます。よって、1 を出力します。


入力例 2

37.7

出力例 2

2

高橋君の体温は 37.7 {}^\circC であるため、発熱に分類されます。よって、2 を出力します。


入力例 3

36.6

出力例 3

3

高橋君の体温は 36.6 {}^\circC であるため、平熱に分類されます。よって、3 を出力します。

Score : 100 points

Problem Statement

Takahashi measured his body temperature and found it to be X {}^\circC.

Body temperature is classified into the following:

  • Higher than or equal to 38.0 {}^\circC: “High fever”
  • Higher than or equal to 37.5 {}^\circC and lower than 38.0 {}^\circC: “Fever”
  • Lower than 37.5 {}^\circC: “Normal”

Which classification does Takahashi's body temperature fall into? Present the answer as an integer according to the Output section.

Constraints

  • 30 \leq X \leq 50
  • X is given to one decimal place.

Input

The input is given from Standard Input in the following format:

X

Output

Print an integer specified below corresponding to Takahashi's body temperature classification.

  • High fever: 1
  • Fever: 2
  • Normal: 3

Sample Input 1

40.0

Sample Output 1

1

His body temperature is 40.0 {}^\circC, which is classified as a high fever. Thus, print 1.


Sample Input 2

37.7

Sample Output 2

2

His body temperature is 37.7 {}^\circC, which is classified as a fever. Thus, print 2.


Sample Input 3

36.6

Sample Output 3

3

His body temperature is 36.6 {}^\circC, which is classified as a normal temperature. Thus, print 3.