#include <bits/stdc++.h>
using namespace std;
#include <atcoder/all>
using namespace atcoder;
using ll=long long;
using Graph=vector<vector<pair<int,ll>>>;
#define INF 1000000000000000000
#define MOD 998244353
#define MAX 200000

int main(){
  char c;
  cin>>c;
  if(c=='E'){
    cout<<'F'<<'\n';
  }else if(c=='B'){
    cout<<'C'<<'\n';
  }else{
    cout<<c<<'#'<<'\n';
  }
}