A sum of Rs. 500 is in the form of denominations of Rs. 10 and Rs. 20. If total number of notes are 35, find the number of notes of each denomination.​