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