100 atcoder#ABC194A. [ABC194A] I Scream

[ABC194A] I Scream

Score : 100100 points

Problem Statement

In Japan, there are four major categories of ice cream type products:

  • an ice cream type product with at least 1515 percent milk solids and at least 88 percent milk fat is called an ice cream;
  • an ice cream type product with at least 1010 percent milk solids and at least 33 percent milk fat that is not an ice cream is called an ice milk;
  • an ice cream type product with at least 33 percent milk solids that is not an ice cream or an ice milk is called a lacto ice;
  • an ice cream type product that is not an ice cream, an ice milk, or a lacto ice is called a flavored ice.

Here, milk solids consist of milk fat and milk solids-not-fat. AtCoder's famous product Snuke Ice contains AA percent milk solids-not-fat and BB percent milk fat. Which of the categories above does Snuke Ice fall into? Print your answer as an integer according to the Output section.

Constraints

  • 0A1000 \le A \le 100
  • 0B1000 \le B \le 100
  • A+B100A + B \le 100
  • AA and BB are integers.

Input

Input is given from Standard Input in the following format:

AA BB

Output

Print an integer as follows:

  • if Snuke Ice is an ice cream, print 11;
  • if Snuke Ice is an ice milk, print 22;
  • if Snuke Ice is a lacto ice, print 33;
  • if Snuke Ice is a flavored ice, print 44.
10 8
1

This product contains 1010 percent milk solids-not-fat and 88 percent milk fat, for a total of 1818 percent milk solids. Since it contains not less than 1515 percent milk solids and not less than 88 percent milk fat, it is an ice cream; the correct output is 11.

1 2
3

Since it contains exactly 33 percent milk solids, it is not an ice cream or an ice milk but is a lacto ice; the correct output is 33.

0 0
4

It is a flavored ice.