If a person purchased a bicycle in 500 Rs. and sold it for 800 Rs. What is the percentage of profit?

A ) 20%

B ) 30%

C ) 40%

D ) None of these