A grocery store bought yogurt for $2.20 per container and stored it in two refrigerators. During the night, one refrigerator malfunctioned and ruined 13 containers. If the remaining yogurt is sold for $3.94 per container, how many containers did the store buy if they made a profit of $105.38?