How do I escape tle in this problem? PLEASE HELP:(
69176878
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion