#include using namespace std; #define modulo 1000000007 #define mod(mod_x) ((((long long)mod_x+modulo))%modulo) #define Inf 10000000000000000 int main(){ vector T = {"abc","cab","bca"}; string S; cin>>S; set> A; int x=0,y=0; A.insert({x,y}); int now = 0; for(int i=0;i