Gravity does negative work upward and positive work downward. Initial kinetic energy is 400 J, while work done by gravity is minus 388 J. The work done by air resistance equals minus 12 J.
Home/sign of the work done by gravity on the ball during its upward motion