Coordinates are a pair of numbers $(x, y)$ on a 2D plane.
However, Jacky thinks they are stupid and comes up with his own wacky system.
Input
The first line consists of an integer $N$. $(1\leq N\leq 100000)$
The next line consists of $N$ integers $a_i$. $(1 \leq a_i\leq 9)$
Output
Output the corresponding coordinate.
Sample Test Cases
Input | Output | |
---|---|---|
5 6 8 6 8 6 |
(3,2) | |
3 9 9 9 |
(3,3) | |
3 1 2 3 |
(0,-3) |
Scoring: Per Subtask
Authored by hclee and s19x17
Appeared in 中國香港九龍華仁書院電腦科主任李海峻老師精心調製之全校青少年信息學奧林匹克七月愚人節編程競賽二零二四