# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

# Clock Math

Limits 1s, 512 MB

Given a time (hours as $H$ and minutes as $M$), determine the smaller angle between the two hands of a clock showing the time and print it.

## Input

The input will contain two integers: $H$ ($0 \le H < 12$) and $M$ ($0 \le M < 60$).

## Output

Print the angle in degrees (positive and accurate to $10^{-4}$).

## Sample

InputOutput
10 15
142.5000000

### Statistics

87% Solution Ratio

allocophobiaEarliest, Nov '18

allocophobiaFastest, 0.0s

wasimur_01Lightest, 0 B

n4o847Shortest, 43B