Janice bought 4 bags of apples. Each bag had the same number of apples. After eating 1 apple from each bag, she had 28 apples left. What is the value of the unknown amount in the story?