module Amondai
  sub main
    dim s as string
    
    s = console.readline()
    
    if s = "ABC" then
      console.writeline("ARC")
    else
      console.writeline("ABC")
    end if
  end sub
end module