I Scream

AtCoder
IDabc194_a
Time2000ms
Memory256MB
Difficulty
In Japan, there are four major categories of ice cream type products: * an ice cream type product with at least $15$ percent **milk solids** and at least $8$ percent **milk fat** is called an _ice cream_; * an ice cream type product with at least $10$ percent **milk solids** and at least $3$ percent **milk fat** that is not an ice cream is called an _ice milk_; * an ice cream type product with at least $3$ 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 $A$ percent **milk solids-not-fat** and $B$ 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 * $0 \le A \le 100$ * $0 \le B \le 100$ * $A + B \le 100$ * $A$ and $B$ are integers. ## Input Input is given from Standard Input in the following format: $A$ $B$ [samples]
Samples
Input #1
10 8
Output #1
1

This product contains $10$ percent milk solids-not-fat and $8$ percent milk fat, for a total of $18$ percent milk solids.  
Since it contains not less than $15$ percent milk solids and not less than $8$ percent milk fat, it is an ice cream; the correct output is $1$.
Input #2
1 2
Output #2
3

Since it contains exactly $3$ percent milk solids, it is not an ice cream or an ice milk but is a lacto ice; the correct output is $3$.
Input #3
0 0
Output #3
4

It is a flavored ice.
API Response (JSON)
{
  "problem": {
    "name": "I Scream",
    "description": {
      "content": "In Japan, there are four major categories of ice cream type products: *   an ice cream type product with at least $15$ percent **milk solids** and at least $8$ percent **milk fat** is called an _ice ",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc194_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "In Japan, there are four major categories of ice cream type products:\n\n*   an ice cream type product with at least $15$ percent **milk solids** and at least $8$ percent **milk fat** is called an _ice ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments