On a beach, people are wearing sunglasses, and people are wearing caps. Some people are wearing both items. If a randomly selected person wearing a cap has a probability of also wearing sunglasses, find the probability that a person wearing sunglasses is also wearing a cap.