#130. 条件判断求和
条件判断求和
Sum with Teen Special
Background
Congcong is learning basic arithmetic operations. He discovered that some number combinations lead to unexpected "lucky" results.
Problem Description
Given two integers, and , return their sum. However, "teen" values in the range inclusive are considered extra lucky. So, if either value is a teen, just return .
Input Format
Input is given from standard input in the following format.
Output Format
Output is printed to standard output in the following format.
result
Sample
3 4
7
10 13
19
13 2
19
Sample Explanation
Sample : Neither nor is a teen value, so their sum is returned. Sample : is not a teen value, but is. Since one value is a teen, is returned. Sample : is a teen value, and is not. Since one value is a teen, is returned.
Constraints
Time limit: second per test case. Memory limit: KiB per test case.