a dealer sells a camera to a man and makes 15% profit. The man sells the camera to another man for 414$ with 10% loss. Find the original cost of the camera.