#include <bits/stdc++.h>

using namespace std;

int main()
{
	unsigned long long a,b,i;
	int n,k=0;
	cin>>n;
	int arr[n];
	for(i=0;i<n;i++)
	{
		cin>>arr[i];
		if(arr[i]%4==0)
		{
			k++;
		}

	}
	if(k>0)
	{
		cout<<"Yes";
	}
	else
	{
		cout<<"No";
	}
	
}
