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