a = "123-86" print(a[a.rfind('-') + 1:])