#include <bits/stdc++.h>
using namespace std;
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++) {
      std::cout << list[i] << "," << list[j] << std::endl;
      if (i > j) {
        if (list[i] * list[j] % 4 == 0) {
          std::cout << list[i] * list[j] << std::endl;
          ok();
          return 0;
        }
      } else if (i <= j) {
        if (list[i] * list[j + 1] % 4 == 0) {
          std::cout << list[i] * list[j + 1] << std::endl;
          ok();
          return 0;
        }
      }
    }
  }
  cout << "No" << endl;
  return 0;
}
