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