These are the bit manipulation and maths problems that come up again and again in coding rounds, from a lowest-bit test to combinations under a modulus. Read the input with input(), think about the cost first, and write a clean solution. Trace each one on a small input, then check it against every test.