There are 6 baskets on the table. Each basket has 15, 17, 5, 4, 8 and 2 apples. Liam chose fifth, Sean chose second, John chose third, Olivia chose first, Matt chose sixth, and Emma chose fourth. How many apples did Matt and John choose in total?