#include int main(){ int N, res=0, max_value=1; scanf("%d",&N); while(++res){ if(max_value