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