1. You are given an array(arr) of integers with even length N. 2. You have to tell if it is possible to re-order the given array such that for every i in range [0,N/2) arr[2*i + 1] = 2 * arr[2*i], this condition holds true.
Input Format
A number N arr1 arr2.. N numbers
Output Format
true/false
Constraints
1 <= N <= 10^4 -10^5 <= arr[i] <= 10^5
Example
Input
4 3 1 3 6
Output
false