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