#include using namespace std; int main(){ int h,w,p,n; cin>>h>>w>>p; for(;;){ cout<>n; if(n==-1) return 0; } }