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