Skip to content

Instantly share code, notes, and snippets.

@danielyaa5
Created July 15, 2016 19:44
Show Gist options
  • Save danielyaa5/6d3ede1232055026774cc7922a6db2f8 to your computer and use it in GitHub Desktop.
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