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