Painter's Problem

How to give answer as %1000003

@dee062001
refer to this


multiply the answer with t later instead