Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!
ALGOR Opening Contest: Round #1
Problem C · 100 points · ICPC rules

~/algor $ cat contests/round-1/C

C. Is it positive?

1000 ms 64 MB

An integer $a$ is given. Check whether the statement is true: “the number $a$ is positive”.

A positive number to the right of zero on the number line

Input

One integer $a$.

Output

One integer: $1$ if the statement is true, otherwise $0$.

Note

$-10^{9} \le a \le 10^{9}$

Examples

Input #1
5
Output #1
1
Input #2
-3
Output #2
0

Sign in to submit a solution

Signing up is free and takes a minute.