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