Move `std::cin.ignore()` after stream extraction.