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