You are given an array consisting of N integers. You need to determine whether any permutation of given array exist such that the sum of all subarrays of length K are equal.
Input format :
Output format :
Constraints :
In the first test case there is no permutation for which the array satisifes the conditon.
In the second test since whole array is a subarray of length 5 so the answer is YES.