Classify Longest Palindromic Substring to class 2