A hockey team panel is made up of the following players

Goalkeeper (gk) = 3

Defender (def) = 6

Midfield (mid) = 6

Forward (fwd) = 5

The coach is considering selecting two possible formations as follows

Formation A = 1 gk, 4 def, 3 mid, 3 fwd

Formation B = 1 gk, 3 def, 5 mid, 2 fwd

How many different teams can be selected if Formation A is used?

How many different teams can be selected if Formation B is used?