Three friends want to share 7 identical candies such that each friend gets at least one candy. In how many ways can this happen? Let's think step by step and output the final answer within \boxed{}.
user