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