Caffeine has the following percent composition: carbon 49.48%, hydrogen 5.19%, oxygen 16.48% and nitrogen 28.85%. Its molecular weight is 194.19 g/mol.
As can be seen, in the overall reaction we have in the reactants like in the second reaction and in the products. The is in the first reaction but as a reactant so we need to reverse that reaction: