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