If 50% of n is 2024, then half of n is 2024, and so n is equal to 2 times 2024, which is equal to 4048. (We may confirm that 50% of 4048, or half of 4048, is 2024 as required.)
Want a route through all this instead of an archive? The track
puts 2,444 problems in a working order, from Junior Challenge level to the IMO shortlist.