#include #include #include #include #include #include #include int canConstruct(int n, int* a) { // Return "Yes" or "No" denoting whether you can construct the required number. int sum=0;int k; if(n==1) {if(a[0]%3==0) k=1; else k=-1;} else {for(int i=0;i