Balance the following chemical equations.
A)Cu2O(s) + C(s) —--------> Cu(s) + CO(g)

B)H2(g) + Cl2(g) —---------> HCl(g)