Pastable version of Find the max