P7222 [RC-04] Informatics Competition

Description

Little R learned some math knowledge about complementary angles today. Please help him calculate the complementary angle of a given angle. The formula to calculate the complementary angle is: $$\angle B=90\degree -\angle A$$ Here, $A$ is the given angle, and $B$ is the angle you need to compute.

Input Format

One line with one integer $x$, meaning $\angle A=x\degree$.

Output Format

One line with one integer $y$, meaning $\angle B=y\degree$. You must compute it strictly according to the formula.

Explanation/Hint

For $100\%$ of the testdata, $x$ is within the `int` range in C++. That is, $x\in[-2^{31},2^{31}-1]$. Translated by ChatGPT 5