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