# Piles With Stones
n = int(input())
x = [int(i) for i in input().split()]
y = [int(i) for i in input().split()]

if sum(x) >= sum(y):
    print('Yes')
else:
    print('No')

574675363151477da8c7e59764d8e677cb201043
<mask token>

<mask token>
if sum(x) >= sum(y):
    print('Yes')
else:
    print('No')

n = int(input())
x = [int(i) for i in input().split()]
y = [int(i) for i in input().split()]
if sum(x) >= sum(y):
    print('Yes')
else:
    print('No')

# Piles With Stones
n = int(input())
x = [int(i) for i in input().split()]
y = [int(i) for i in input().split()]

if sum(x) >= sum(y):
    print('Yes')
else:
    print('No')
