Hide

Problem C
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.

Input

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

Output

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

Sample Input 1 Sample Output 1
2 3 5
correct!
Sample Input 2 Sample Output 2
1 1 3
wrong!
Sample Input 3 Sample Output 3
-1 1 0
correct!

Please log in to submit a solution to this problem

Log in