A - ReLU 解説 /

実行時間制限: 2 sec / メモリ制限: 1024 MB

配点 : 100

問題文

ReLU関数は以下のように定義されます。

図

整数 x が与えられるので ReLU(x) を求めてください。

制約

  • x は整数
  • -10 \leq x \leq 10

入力

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

x

出力

答えを整数で出力せよ。


入力例 1

1

出力例 1

1

1 \geq 0 なので ReLU(1) = 1 です。


入力例 2

0

出力例 2

0

入力例 3

-1

出力例 3

0

Score : 100 points

Problem Statement

The function ReLU is defined as follows:

Figure

Given an integer x, find ReLU(x).

Constraints

  • x is an integer.
  • -10 \leq x \leq 10

Input

Input is given from Standard Input in the following format:

x

Output

Print the answer as an integer.


Sample Input 1

1

Sample Output 1

1

We have 1 \geq 0, so ReLU(1) = 1.


Sample Input 2

0

Sample Output 2

0

Sample Input 3

-1

Sample Output 3

0