#P4705. Y

Y

Problem Description

4 1 2 1 3 1 4
1

Hint


1. The only set is {2,3,4}.

2. Please use #pragma comment(linker, "/STACK:16777216")