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