1.6 g of helium at an initial temperature of 290 K interacts thermally with 7.6 g of oxygen at an initial temperature of 570 K. What is the initial thermal energy of each gas? Express your in answers joules separated by a comma.