In a school there are 26 teachers and administrative members. The school management wants to forma committee of 3 administrative members and 5 teachers or 2 administrative members and 6 teachers. How many ways can be formed this committee?