Problem E

Statement
Copy Copied
Description:
None

Input Format:
The input consists of four lines, each line containing a single digit 0 or 1.

Output Format:
Output a single digit, 0 or 1.

Note:
None