#include using namespace std; int N,X,Y,Z; int A[16][16]; int main() { cin>>N>>X>>Y>>Z; --X; --Y; --Z; for(int y=0;y