n=int(input()) a = list(map(int,input().split())) cnt = 0 for i in range(n): cnt += a[i]%n cnt%=n if cnt: print('No') else: print('Yes')