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