diff input same output problem