def yn(a,b,c,d,s): kg= c*a + d*b if s >= kg: return "Yes" return "No" print(yn(A,B,C,D,S))