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