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