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