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