#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int a, b, c, d; cin >> a >> b >> c >> d; if (a == 1 && b == 10) cout << -1; else cout << "4" << endl << "3 2 4 3" << endl << "1 3" << endl << "1 1" << endl << "1 2"; return 0; }