#include using namespace std; long long N; long long A[59]; long long B[59]; int main() { // Step 1. ε…₯εŠ› cin >> N; for (int i = 1; i <= N; i++) cin >> A[i] >> B[i]; // Step 2. ε‡ΊεŠ› cout << N - 1 << endl; for (int i = 1; i <= N - 1; i++) { cout << 1 << " " << i + 1 << endl; } cout << "A" << endl; return 0; }