#P7222. [RC-04] 信息学竞赛

[RC-04] 信息学竞赛

Problem 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:

∠B=90°−∠A\angle B=90\degree -\angle A

Here, AA is the given angle, and BB is the angle you need to compute.

Input Format

One line with one integer xx, meaning ∠A=x°\angle A=x\degree.

Output Format

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

100
-10

Hint

For 100%100\% of the testdata, xx is within the int range in C++. That is, x∈[−231,231−1]x\in[-2^{31},2^{31}-1].

Translated by ChatGPT 5