import sys
from scapy.all import *

def main(testcase):
	if testcase=="1":
		pkt = Ether()/IP(dst="192.168.2.2")/ICMP()/"TheNSAIsWatchingYourCode"
		pkt.type=1024 #Invalid EtherType
		ans,unans = sr(pkt,timeout=5)
		if len(unans)>0 and len(ans)==0: #Router should drop the invalid packet
			sys.exit(0)
		else :
			sys.exit(1)

	sys.exit(1)

if  __name__ =='__main__':main(sys.argv[1])