apple pie's submission of Avoid Contact | CodeChef