# Arup Guha
# 3/17/2025
# Solution to 2025 HSPT Problem: Witches' Brew

# Get input
n = int(input())

# How to check for divisibility.
if n%3 == 0:
    print("Something wicked!")

# Can't be equal.
else:
    print("Toil and trouble.")
