a school try annual photo student the student ask stand single file line nondecrease order height let ordering represent integer array expect expectedi expect height ith student lineyou give integer array height represent current order student stand each heightsi height ith student line 0indexedreturn number index heightsi expectedi Example 1input height 114213output 3explanation height 114213expecte 111234indices 2 4 5 matchexample 2input height 51234output 5explanationheight 51234expecte 12345all index matchexample 3input height 12345output 0explanationheight 12345expecte 12345all index match Constraints1 heightslength 1001 heightsi 100