added 19 solution in java