def rotate_left(list1,m,n):
  result =  list1[m:]+list1[:n]
  return result