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