A box contains 271 marbles, and you want to distribute them equally among a certain number of groups. If each group must have a prime number of marbles, and there are 3 marbles left over after the distribution, how many groups are there? Let's think step by step and output the final answer within \boxed{}.
user