def right(s: str, length: int) -> str:
  """Returns the string's rightmost characters of the length provided."""
  if (length == 0):
    return ""
  if (length > len(s)):
    return s
  return s[-length:]