DWITE Contest

Test Case for Question #5 in Closed Beta Test Contest

Contest: Closed Beta Test Contest
Question: #5
Input File: DATA5.txt
Output File: OUT5.txt


Input

1
+
1
1
=
1




Output

2
true