const numbers = require('fs').readFileSync('/dev/stdin', 'utf-8').toString().split('\n')[1].split(' ').map(Number);
console.log((Int(numbers.length / 2) <= numbers.map(x => x % 4 === 0 ? 1 : x === 2 ? 0.5 : 0).reduce((a, b) => a + b)) ? 'Yes' : 'No');