Mock CCC '18 Contest 2 J1 - An Arithmetic Problem
View as PDFYou are given an arithmetic expression . Determine if it is true or false.
Constraints
In a batch of tests worth 1 mark, the answer is always True.
In a potentially disjoint batch of tests worth 1 mark, the answer is always False.
Input Specification
The first line contains a single line of the form a + b = c, where each of a, b, and c are positive digits.
Output Specification
If the statement is true, print True on a single line.
Otherwise, print False on a single line.
Sample Input 1
1 + 1 = 2
Sample Output 1
True
Sample Input 2
1 + 1 = 3
Sample Output 2
False
Comments