void ok() {
    cout << "Yes" << endl;
    return;
}

int main() {
    int length;
    cin >> length;
    int list[length];
    for (int i = 0; i < length; i++) {
        cin >> list[i];
    }
    for (int i = 0; i < length; i++) {
        for (int j = 0; j < length-1; j++) {
            cout << list[i] << "," << list[j] << endl;
            if (i > j) {
                if (list[i]*list[j] % 4 == 0) {
                    cout << list[i]*list[j] << endl;
                    ok();
                    return 0;
                }
            } else if (i <= j) {
                if (list[i]*list[j+1] % 4 == 0) {
                    cout << list[i]*list[j+1] << endl;
                    ok();
                    return 0;
                }
            }
        }
    }
    cout << "No" << endl;
    return 0;
}
