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