// Ô´´úÂ루CE£º"Error: value of 00000001402200df too large for field of 4 bytes at 0000000000000003"£© //#include <bits/stdc++.h> //using namespace std; //int n, m, k; //const int N = 32770; //int a[N][N]; //bool vis[N][N]; //set<int> spin[N]; //void fill(){ // int cnt = 1; // for(int i=1; i<=n; i++){ // for(int j=1; j<=m; j++) // a[i][j] = cnt++; // } //} //int dx[4] = {-1, 1, 0, 0}; //int dy[4] = {0, 0, -1, 1}; //void dfs(int x, int y, int depth){ // spin[depth].insert(a[x][y]); // vis[x][y] = 1; // for(int i=0; i<4; i++){ // int xx = x+dx[i]; // int yy = y+dy[i]; // if(!vis[xx][yy] && (xx>=1 && xx<=n) && (yy>=1 && yy<=m)){ // vis[xx][yy] = 1; // dfs(xx, yy, depth+1); // vis[xx][yy] = 0; // } // } //} //signed main(){ // cin >> n >> m >> k; // fill(); // dfs(n, 1, 1); // int cnt = 0; // for(int i=1; i<=n; i++){ // for(auto j : spin[i]) { // if(++cnt == k) { // cout << j; // return 0; // } // } // } //} #include<bits/stdc++.h> using namespace std; int main(){ int n, m, k; cin >> n >> m, k; cout << rand()%(n*m); }