A teacher assigns 5 students to work on one of two distinct projects, Project A or Project B. Each student must choose one project, and each project must have at least one student assigned to it. How many different ways can the students be assigned to the projects?
28
30
32
34
36