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