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