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