#include <bits/stdc++.h>
#define r(i,n) for(int i=0;i<n;i++)
using namespace std;
typedef pair<int,int>P;
#define F first
#define S second
string s,t;
int a[200001][26];
string s;
int b[2<<26];
main(){
  int a=0;
  cin>>s;
  a[0][s[0]-'a']++;
  r(i,s.size()){
    r(j,26)a[i+1][j]=a[i][j];
    a[i+1][s[i+1]-'a']++;
  }
  r(i,s.size()){
    int t=(1<<(s[i]-'0'));
  }
}