P15504 [HackerRank] Find angle
普及
题目描述

$\textit{ABC}$ is a right triangle, $90^{\circ}$ at $\mbox{B}$.

Therefore, $\angle ABC=90°$.

Point $\mbox{M}$ is the midpoint of hypotenuse $\mbox{AC}$.

You are given the lengths $\boldsymbol{AB}$ and $\mbox{BC}$.

Your task is to find $\measuredangle$ (angle $\theta^o$, as shown in the figure) in degrees.

Input Format

The first line contains the length of side $\boldsymbol{AB}$.

The second line contains the length of side $\mbox{BC}$.

Constraints

$\textbf{0}<AB\leq100$

$\textbf{0}<BC\leq100$
Lengths $\boldsymbol{AB}$ and $\mbox{BC}$ are natural numbers.

Output Format

Output $\measuredangle$ in degrees.

Note: Round the angle to the nearest integer.

Examples:

If angle is 56.5000001°, then output 57°.

If angle is 56.5000000°, then output 57°.

If angle is 56.4999999°, then output 56°.

$0^\circ<\theta^\circ<90^\circ$

Sample Input
10
10

Sample Output
45°

输入格式

见题面

输出格式

见题面

样例输入
10 10
样例输出
45°