human
Write a function to rotate a given list by specified number of items to the right direction. https://www.geeksforgeeks.org/python-program-right-rotate-list-n/ Here is a solution in Python:
assistant
#Here is the Python program you requested.
 def rotate_right(list, m):
  result =  list[-m:] + list[:-m]
  return result