import java.util.*; public class N1735Main { public static void main(String[] args) { Scanner scn = new Scanner(System.in); String s = scn.next(); if(s.equals("E")) { System.out.println("F"); }else if(s.equals("B")) { System.out.println("C"); }else { System.out.println(s + "#"); } } }