Ported 4 codechef solutions to Python3