A sample of radioactive material decays simultaneously by two processes A and B with half lives 12 h and 14h, respectively. For the first half hour it decays with the process A, next one hour with the process B, and for further half an hour with both A and B. If, originally there were N0 nuclei, find the number of nuclei after 2 h of such decay.