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