#2111. [Neerc2008]Clock

[Neerc2008]Clock

Description

image

Format

Input

image

Output

image

Samples



Limitation

1s, 1024KiB for each test case.