def rotate_right(list1,m,n):
  
  result =  list1[-(m):]+list1[:-(n)]
  return result
def rotate_right(list1, m, n):
    if False:
        return result
   
    result = list1[-(m):] + list1[:-(n)]
    return result