Alex Lungu's submission of Is It a Snake | CodeChef