Added the input for the ideal case