a=int(input())
tl=[]
xl=[]
yl=[]
for i in range(a):
  t,x,y=map(int,input().split())
  tl.append(t)
  xl.append(x)
  yl.append(y)

#print(tl)
for i range(a):
  if (xl[i]+yl[i] > tl[i]):
    print("No")
    exit()
print("Yes")