Created
October 26, 2015 14:09
-
-
Save popey456963/3f2c5a7d1c47f4f74a1d to your computer and use it in GitHub Desktop.
Categories and Sets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x=int(input()) | |
for i in int(input()): | |
f,c,t=input().split() | |
if int(f)<=x<=int(c):print(t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment