行,列,人数, K番目の人=[int(i) for i in input().split()] マス数=行*列 if マス数%人数==K番目の人: print("YES") elif マス数%人数==0 and 人数==K番目の人: print("YES") else: print("NO")