#include #include #define N 81 int main(void){ int x = 0; int y = 0; int n = 0; int a[N]; //int flag[10]; int i = 0; scanf("%d\t%d\n", &x, &y); scanf("%d", &n); for(i=1; i <= N; i++){ scanf("%d", &a[i]); } for(i = 1; i <= n-1; i++){ if(((1.0/(double)x)*a[i]-(1.0/(double)y)*a[i])*y+a[i] > a[i+1]){ printf("No\n"); return 0; } } printf("Yes\n"); return 0; }