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