#P4698. Counting

Counting

Problem Description

2 2 1 1 1
4