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