You are given a graph of nodes. Print Scam!
if the graph is a scam, and Graph Theory!
if it is not a scam.
A graph is a scam if it contains less than or equal to nodes.
Input Specification
The first line and only will contain two integers, .
Output Specification
Print Scam!
if the graph is a scam, or Graph Theory!
if it is not a scam.
Sample Input
3 4
Sample Output
Scam!
Comments