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