X, A, Y, B = map(int, input().split()) C = 0 while X % Y == 0: X //= Y C += 1 if C * A >= B: print('Yes') else: print('No')