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