imports System

Module Module1
  public Sub Main()

    Dim Input as String = Console.ReadLine()

    if Input = "ABC" then

		console.writeLine("ARC".tostring)

	elseif Input = "ARC" then
	
		console.writeLine("ABC".tostring)

	else

	end if

  End Sub
End Module