A math club consists of 6 members who need to be assigned tasks for an upcoming event. Each member must perform exactly one task, and the tasks are numbered from 1 to 6. However, the tasks must be assigned in such a way that each member gets a different task, and the sum of the tasks assigned to members 1 and 2 must be congruent to 2 modulo 4. How many ways can the tasks be assigned to the members? Let's think step by step and output the final answer within \boxed{}.
user