Longest Weird Subsequence | CodeChef