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