• Input a parameter of the form nth century and get
AD.
  • Input a parameter of the form nth century BC and get
BC.
  • Else get
ADBC.
Note
It works for all interger n, 100 ≥ n ≥ 1.