func main() var s: []char :: cui@input() var cnt: int :: 0 for i(0, ^s - 1) if(s[i] = 'a') do cnt :+ 1 end if end for do cui@print("\{"a".repeat(cnt + 1)}\n") end func