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