Problem A
Adding Trouble

Your friend Bob is really bad at adding numbers, and he’d like some help to make sure he’s doing it correctly! Can you help Bob make sure he is adding correctly? Given 3 integers $A$, $B$, $C$, make sure that $A + B = C$, and that Bob indeed added $A$ and $B$ correctly.


The input consists of a single line with 3 integers $A, B, C$ where $-10^9 \le A, B, C \le 10^9$.


Output either correct! if $A + B = C$, or wrong! if $A + B \ne C$.

Sample Input 1 Sample Output 1
2 3 5
Sample Input 2 Sample Output 2
1 1 3
Sample Input 3 Sample Output 3
-1 1 0

Please log in to submit a solution to this problem

Log in