#include #define MOD 1000000007 using namespace std; typedef long long ll; typedef pair ii; int used[20]; string s; int tkn; int dfs(){ if(s.length()-tkn<3) return 0; int best=0; for(int ctr1=0;ctr1>s; cout<