That's how I solve such problems