A - Lucky Sequence

2 secs 1024 MB
Yourein's icon Yourein

random2.txt


入力

出力