Update MaxProductOfThree.java

This will give the subsequence required