#include <iostream>
using namespace std;

int main() {
    int N;
    cin >> N;
    int A[N], B[N];

    for (int i = 0; i < N; i++) {
        cin >> A[i];
    }

    for (int i = 0; i < N; i++) {
        cin >> B[i];
    }

    cout<<1;

    return 0;
}