If two students, Mark and Lisa, interchange their seats and Mark's new rank from the top becomes 10th, while Lisa's rank from the bottom is now 5th, how many students are there in total?
In a race of 40 participants, E is ranked 12th from the top. If E swaps positions with F, who is ranked 15th from the bottom, what will be E's new rank from the top?