A shopkeeper sells small notebooks at Rs 20 each and large notebooks at Rs 30 each. On a particular day he sold 12 notebooks altogether and collected Rs 290. Which ordered pair (small,large) gives the number of small and large notebooks sold?
a) (6,6)
b) (5,7)
c) (7,5)
d) (8,4)