4936: P6386 [COCI2007-2008#4] VAUVAU(入门)

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Input

Output

Sample Input Copy

2 2 3 3
1 3 4

Sample Output Copy

both
one
none

HINT