function main(input) {
  input=input.trim();
  const as = input.split(" ")[0];
  const op = input.split(" ")[1];
  console.log("A"+op.substr(0,1)+"C");
}



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