{{{#!highlight haskell #include #include int main(){ int n,i,j; char word[20]={0},top[20]={0}; scanf("%d\n",&n); scanf("%s",top); for(i=0;i