A sequence S of positive integers is a composite sequence if and only if there is a non-empty subsequence T of S such that the sum of all integers in T is a composite number.
Given S, your task is to check whether S is a composite sequence.
Note that 1 is not a composite number.
Recall that T is a subsequence of S if and only if we can obtain T by removing some elements of S (possibly none or all).
The first line contains a single integer n (1≤n≤105), the size of S.
The second line contains n integers S_1,S_2,…,S_n: the elements of S (1≤S_i≤109).
If S is a composite sequence, output "Yes". Otherwise, output "No".