#include using namespace std; int main(){ int n; scanf("%d",&n); bool ok=true; if(n=='B'%'A') ok=false; for(int i='C'%'A';i