int getN ();
int getL ();
int getWeight (int x, int y, int direction);
void solution (int x, int y);
