N = int(input()) A = list(map(int, input().split())) SUM = 1 for i in range(2, N+1): SUM += (i-1)*A[i] print("Yes" if SUM <= A[1] else "No")