Which of the following(s) when heated give nitrogen gas (a) (NH4)2Cr2O7 (b) Ba(N3)2 (c) NH4NO3 (d) Both (a) and (b)