I won a total of $23,306 with online gambling in PA. The W2-G I received was a lump sum. I had won a bunch of amounts over $1200 but under $5000 each. Is this right?

Will it make a difference on what I am paying in taxes? I have more than the amount in loses and am Itemizing.