added test case for C-input. Reduced output C-output