#SCCCIE000022. Phân loại kem (I Scream)

Phân loại kem (I Scream)

I Scream

Source: AtCoder

Problem Statement

A product has A%A\% milk-solids-not-fat and B%B\% milk fat, so total milk solids are A+BA+B. Classify in priority order: type 11 if A+B≥15A+B\ge15 and B≥8B\ge8; type 22 if not type 11 but A+B≥10A+B\ge10 and B≥3B\ge3; type 33 if neither above but A+B≥3A+B\ge3; otherwise type 44.

Input

One line contains AA and BB.

Output

Print the category number 11, 22, 33, or 44.

Subtasks

  • Subtask 1 (100%): 0≤A,B≤1000 \le A,B \le 100; A+B≤100A+B\le100

Examples

Example 1

Input

10 8

Output

1

Explanation

For the sample values 10, 8, evaluating the conditions in the statement gives 1. Therefore the program prints the shown output.

Example 2

Input

1 2

Output

3

Explanation

For the sample values 1, 2, evaluating the conditions in the statement gives 3. Therefore the program prints the shown output.

Example 3

Input

0 0

Output

4

Explanation

For the sample values 0, 0, evaluating the conditions in the statement gives 4. Therefore the program prints the shown output.