In order to run task 3.cpp file save input.txt in same directory.