ps = input()
ps = int(ps) * 0.02
dl = input()
if ps < int(dl):
    print("Pesos")
else:
    print("Dollars")

ps = input()
ps = int(ps) * 0.02
dl = input()
if ps < int(dl):
    print("Pesos")
else:
    print("Dollars")
