Shortest Repetition