CF2214C And?

Description

$$$ \LARGE{\texttt{RXOEARDMTINHUSERMEDESIANT}~\&~20260401} $$$

Input Format

Each test contains multiple test cases. The first line contains the number of test cases $ t $ ( $ 1 \leq t \leq 10^5 $ ). The description of the test cases follows. The only line of each test case contains three integers $ a $ , $ b $ , and $ c $ ( $ 1 \leq a, b, c \leq 1000 $ ).

Output Format

For each test case, output the answer.