Created
July 15, 2016 19:44
-
-
Save danielyaa5/6d3ede1232055026774cc7922a6db2f8 to your computer and use it in GitHub Desktop.
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
n = int(input()) | |
f = map(int,raw_input().split()) | |
print "YES" if len(f)==len(set(f)) else "NO" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment