#include using namespace std; int main() { int n,m,s,ans[200][200]; cin>>n>>m>>s; for(int i=0; i>b; for(int new_i=0; new_i