volume_min_leite = int(input())
volume_max_leite = int(input())
capacidade_xicara = int(input())
cafe_preparado = int(input())
if volume_min_leite <= capacidade_xicara - cafe_preparado or volume_max_leite <= capacidade_xicara - cafe_preparado:
print("S")
else:
print("N")
To embed this project on your website, copy the following code and paste it into your website's HTML: