Finish longest repetition

#longest #repetition