Hungarian parliament elects nation's new president