13.361. A red pencil costs 27 kopecks, a blue one - 23 kopecks. No more than 9 rubles 40 kopecks can be spent on purchasing pencils. It is necessary to purchase the maximum possible total number of red and blue pencils. At the same time, the number of red pencils should be as few as possible, but the number of blue pencils should not differ from the number of red pencils by more than 10. How many red and how many blue pencils should be purchased under the given conditions?