Atiab had some chocolates. At first, he tried to divide these chocolates equally among his 5 friends and found that 2 chocolates remain. After a while, 2 more friends joined them. Now, after trying again to divide those chocolates equally among these 7 friends, Atiab saw that this time 1 chocolate remains and each friend gets 1 chocolate less than before. How many chocolates did Atiab have?
This question has no short answer. Try it yourself, then compare with the solution.