A10964. Twisted Circuit
编程题
普及/提高-
知识点
题目描述

输入格式
The input consists of four lines, each line containing a single digit 0 or 1.
输出格式
Output a single digit, 0 or 1.
输入输出样例
输入 #1
0 1 1 0
输出 #1
0