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