fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n;
  6. cin >> n;
  7. while(n--)
  8. {
  9. string s,a,b;
  10. cin >> s >> a >> b;
  11. cout << s[0] << a[0] << b[0] << endl;
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0s 5324KB
stdin
7
united states america
oh my god
i cant lie
binary indexed tree
believe in yourself
skibidi slay sigma
god bless america
stdout
usa
omg
icl
bit
biy
sss
gba