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