#include using namespace std; int main() { int r[4],j=0,k=0,c[4],d[4]; for(int i=0;i>r[i]; for(int i=0;i