111

Problem ID: 111

The problem description containts two separate sample input cases with n=4 and n=10, please, be attentive!