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