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