gambling winnings in calif

in2023 I had 2 wins at an indian casino. i got a w-2g for these. do i put them in now as a w2 instead of a 1099G?