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