#include #include int main(void) { int x,y; int n; int a[100]; int i; int z,q; scanf("%d%d",&x,&y); scanf("%d",&n); for(i=0;i