#168. close10

close10

Background

Description

Given 2 int values, return whichever value is nearest to the value 10, or return 0 in the event of a tie. Note that Math.abs(n) returns the absolute value of a number.

Format

Input

Output

Samples

8 13
8
13 8
8
13 7
0

Limitation

1s, 1024KiB for each test case.