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