package javashuru;
import java.util.Scanner;
public class InPut {
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
char a[]=new char[3];
for(int i=0;i<3;i++){
a[i]=sc.next().toCharArray()[0];
}
for(int i=0;i<3;i++){
System.out.print(a[i]+" ");
}
}
}