ABC
This question came in At coder begineer contest
https://atcoder.jp/contests/abc280/tasks/abc280_e
Can anyone Explain it