Dongfeng Primary School arranges 4 extracurricular activities every week, including sports, literature and art, and science and technology. If it is required to have at least one activity in a week, and the same activity cannot be arranged consecutively, how many different arrangements are there?
东风小学每周安排4次课外活动，内容有体育、文艺、科技三种，如果要求一周内各种活动至少有一次，并且同一种活动不能连着安排，那么，共有多少种不同的安排方法？
<gadget id="calculator">3 * 2 * 3 * 2</gadget>
<output>36</output>

<result>36</result>