Update main.cpp

fixed crash on no input
Merge pull request #1 from pavelow53/patch-1

Update main.cpp