C1. Junction Board Assembly
time limit per test
1 s
memory limit per test
256 MB
input
standard input
output
standard output

Midnight Cloud Computing (MCC) has asked you and your friend Grigory to prepare a problem for an upcoming programming competition. Unfortunately, you were on a business trip to Serbia and haven't had any time to contribute. Now, with just one day left before the contest, Grigory has mysteriously vanished and isn't replying to your increasingly desperate messages.

You open the problem drafts and gasp — even the problem statement is nowhere near ready! All that's there is a model solution and some input data. Looking closer, you discover that the solution is written in assembly for the JB (JunctionBoard) chip engineered by MCC. The solution file is included in the archive named "problem-c1-model.zip".

The competition is tomorrow, and your first objective is to generate model output data for Grigory's problem. It shouldn't take long — after all, you already have the model solution. Just remember: the JB chip operates modulo $$$2^{32}$$$, so your output data should also be modulo $$$2^{32}$$$.

Input

You are given a zip archive, "problem-c1-inputs.zip" containing $$$10$$$ tests: 01, 02, $$$\ldots$$$, 10.

Each test file consists of a single line with three integers.

Output

As your answer, submit a zip archive containing files named 01.out, 02.out, $$$\ldots$$$, 10.out. Some of the files may be missing.

Each file should contain a single integer — the result of running Grigory's code on the corresponding input. Since JB chip operates modulo $$$2^{32}$$$, your outputs should also be computed modulo $$$2^{32}$$$.

Scoring

You will get 1 point for each correct output which will be transformed to the score of $$$60$$$ in the scoreboard.

Problem by JetBrains