https://www.geeksforgeeks.org/maximum-subsequence-sum-such-that-no-three-are-consecutive/