using namespace std;
#include <bits/stdc++.h>

int main() {

    // Read in stuff.
    int n,m,tmp;
    cin >> n >> m;
    int s1=0, s2=0;
    for (int i=0; i<n; i++) {
        cin >> tmp;
        s1 += tmp;
    }

    for (int i=0; i<m; i++) {
        cin >> tmp;
        s2 += tmp;
    }

    if (s1 > s2)
        cout << "Button 1" << endl;
    else if (s2 > s1)
        cout << "Button 2" << endl;
    else
        cout << "Oh no" << endl;

    return 0;
}
