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