when an article is sold for Rs.X ,loss percentage is equal to L%. however,when same article is sold for Rs. Y ,profit percentage is equal to P%. what is CP of that article?

UP 0 DOWN 0 0 0
when an article is sold for Rs.X ,loss percentage is equal to L%. however,when same article is sold for Rs. Y ,profit percentage is equal to P%. what is CP of that article?