#pragma GCC optimize(3) #include #define debug(x) cout<<#x<<":"< PII; typedef vector VI; const int INF = 0x3f3f3f3f; const int N = 2e5 + 10; const ll mod = 1000000007; const double eps = 1e-9; const double PI = acos(-1); templateinline void read(T &a) { char c = getchar(); T x = 0, f = 1; while (!isdigit(c)) {if (c == '-')f = -1; c = getchar();} while (isdigit(c)) {x = (x << 1) + (x << 3) + c - '0'; c = getchar();} a = f * x; } int gcd(int a, int b) {return (b > 0) ? gcd(b, a % b) : a;} int main() { string a; cin>>a; int k = 0 ; for(int i = 0 ; i < a.size() ; i ++ ) { if(a[i] == 'a') k ++ ; } k++; for(int i = 0 ; i < k ; i ++ ) cout<<"a" ; return 0; } /** *  ┏┓   ┏┓+ + * ┏┛┻━━━┛┻┓ + + * ┃       ┃ * ┃   ━   ┃ ++ + + + * ████━████+ * ◥██◤ ◥██◤ + * ┃   ┻   ┃ * ┃       ┃ + + * ┗━┓   ┏━┛ *   ┃   ┃ + + + +Code is far away from   *   ┃   ┃ + bug with the animal protecting *   ┃    ┗━━━┓ 神兽保佑,代码无bug  *   ┃        ┣┓ *   ┃        ┏┛ *  ┗┓┓┏━┳┓┏┛ + + + + *    ┃┫┫ ┃┫┫ *    ┗┻┛ ┗┻┛+ + + + */