A - monotonically-increasing

2 secs 1024 MB
kusirakusira's icon kusirakusira

sample_2.txt


入力

出力