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