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