PROBLEM STATEMENT:
Snakes have been lurking again in Sabar lately. SAC, the Serpentine Action Committee has put up an investigation team to pinpoint the location of the Snake. You are the Student member of the SAC. Help the team find the snake.
Sabar has l blocks. Each block of the l blocks has m floors and each floor of the m floors has n rooms. You are given three arrays A, B, C of unique block names (block names are single alphabets like d, k, s), unique floor numbers and unique room numbers (The block names, floor numbers and room numbers may not be continuous).
A friend has tipped you off the coordinates (p, q, r) of the snake where p is the block name, q is the floor number and r is the room number where the snake is. If the coordinates exist, print, "SNAKE FOUND" else, your friend has lied to you so print "DOST HI SAANP HAI".
INPUT FORMAT:
CONSTRAINTS:
NOTE: The list of blocks, floors and room numbers are in non - decreasing order.
OUTPUT FORMAT: