Eastern Grand Prix
Very interesting contest.
But, how to solve task K, L and H?
Thanks in advance.
AtCoder Beginner G problems upsolving