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