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