101830: [AtCoder]ABC183 A - ReLU

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

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

Input

题意翻译

输入一个整数 $x$,如果 $x\ge0$ 则输出 $x$,否则输出 $0$。

加入题单

算法标签: