I am new to problem sets, although the lines of code is so short but after submission it says that it\'s bit slow.
is it because of max or append ? what to avoid in p