#include int cmp(const void* a, const void* b){ return *(int*)a - *(int*)b; } _Bool check['-~']; int main(){ int i,j,n,w['~'],s=0; scanf("%d",&n); for(int i=0;i=0;--j){ if(check[j]) check[j+w[i]]=1; } } if(check[s]) printf("possible\n"); else printf("impossible\n"); } else printf("impossible\n"); }