By default, ios::skipws is set, which means that leading whitespaces are skipped by operator
>>. Often, it is useful to have this flag set. For example, with it set, reading the separating spaces
between numbers explicitly is not necessary. However, this implies that reading space characters
using operator >> is not possible because leading whitespaces are always skipped.