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