$h{$_}++for<>=~/./g;print+(@a=grep$h{$_}==1,a..z)==1?@a:Impossible