100 atcoder#ABC194A. [ABC194A] I Scream
[ABC194A] I Scream
Score : points
Problem Statement
In Japan, there are four major categories of ice cream type products:
- an ice cream type product with at least percent milk solids and at least percent milk fat is called an ice cream;
- an ice cream type product with at least percent milk solids and at least percent milk fat that is not an ice cream is called an ice milk;
- an ice cream type product with at least 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 percent milk solids-not-fat and 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
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
Print an integer as follows:
- if Snuke Ice is an ice cream, print ;
- if Snuke Ice is an ice milk, print ;
- if Snuke Ice is a lacto ice, print ;
- if Snuke Ice is a flavored ice, print .
10 8
1
This product contains percent milk solids-not-fat and percent milk fat, for a total of percent milk solids. Since it contains not less than percent milk solids and not less than percent milk fat, it is an ice cream; the correct output is .
1 2
3
Since it contains exactly percent milk solids, it is not an ice cream or an ice milk but is a lacto ice; the correct output is .
0 0
4
It is a flavored ice.