generated correct output for conflicts in first input case