Let numbers of Rs. 5, Rs. 2, Rs. 1 stamps be $a,b,c$ initially.
Cost: $5a + 2b + 1c = 20$. Clerk gave 3 extra Rs. 1 stamps, so total Rs. 1 stamps bought = $c+3$.
Possible integer solution with all>1: $a=2, b=3, c=4$ → cost = $10+6+4=20$, total stamps = $2+3+(4+3) = 12$.