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