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