#include using namespace std; #define int long long using vec_int = vector; using vec_ii = vector; using vec_iii = vector; using vec_iiii = vector; using P = pair; using T = tuple; using ll = long long; using ld = long double; #define rep(i, n) for(int i = 0; i < (int)(n); i++) void cout_line(vector &a){ for(int i=0;i>S; int num = 0; rep(i, S.size()){ if(S.at(i)=='a')num++; } string ans = ""; rep(i, num+1) ans += 'a'; cout<