First, we will need to know the formula to calculate the kinetic energy

where m is the mass and v is the speed
then we will calculate the kinetic energy for each case
For the bullet
m=0.0020 kg
v=400 m/s

for the ocean liner
m=6.4x10^7 kg
v=10 m/s

as we can see the ocean liner has more Kinetic energy.