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