A man has four pants of blue, grey, black and light black colours. His shirts colours are white, red, lined blank and box black. How many pairs of shirt and pant are possible. If following combinations are not allowed.
1) He doesn't put on blue pant and red shirt.
2) He puts on grey pant with only box black shirt