import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Set set = new HashSet<>(); String S = sc.next(); String [] arr = S.split(""); int L = S.length(); int N = (int)Math.pow(2,L-1); for(int i=0; i