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