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