Skip to content

Instantly share code, notes, and snippets.

@danielyaa5
Created July 15, 2016 19:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save danielyaa5/6d3ede1232055026774cc7922a6db2f8 to your computer and use it in GitHub Desktop.
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