There are 40 passengers in a bus. Some have tickets worth Rs.3 and remaining worth Rs.10. The total collection from these passengers is Rs.295. Find how many passengers have tickets worth Rs.3?