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