One additional comment. All the code within each of your if statements could be taken out and put into a method. That way the sequence of if statements would be made up of a bunch of method calls.
if response == "RA"
  call_method_1()
if response == "AA"
  call_method_2()