What is the FASTEST and proper way to read string input just like below input ?