A man has Rs.128 in the denominations of one-rupee notes, five-rupee notes & ten-rupee notes.
The number of notes of each denomination is equal.
What is the total number of notes that he has ?
(A) 21
(B) 27
(C) 24
(D) 18