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