https://cses.fi/paste/00595193ac050c88ab83e/
#3lst=list(input())count=1maxx=1for i in range(1,len(lst)):if lst[i]==lst[i-1]:count+=1else:count=1if count>maxx:maxx=countprint(maxx)
https://cses.fi/paste/00595193ac050c88ab83e/
#3lst=list(input())count=1maxx=1for i in range(1,len(lst)):if lst[i]==lst[i-1]:count+=1else:count=1if count>maxx:maxx=countprint(maxx)