Added fallback STDIN for Ex 2