In a candy store, there are 40 chocolate bars and 60 caramel candies. Some of these candies are packed in complete boxes, while others are loose. Each complete box contains exactly \( y \) candies. If the store loses one box of chocolate bars, then the ratio of the number of chocolate bars to caramel candies will be exactly the same as if they instead find 3 boxes of caramel candies. Find \( y \). Let's think step by step and output the final answer within \boxed{}.
user