function main(input){
  const strings = input.split(' ');
  const answer = strings[0][0] + strings[1][0] + strings[2][0];
  console.log(answer);
}

const input = require('fs').readFileSync('/dev/stdin', 'utf8');
main(input);
