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