import java.util.*; import java.util.regex.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); String s = koko.next(); int n = s.length(); int keta = (int)Math.pow(2,n-1); char[][] answe = new char[keta][n]; String[] answer = new String[keta]; for(int i=0; i