Problem 1063 --搜索-小木棍DFS

1063: 搜索-小木棍DFS

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 65  Solved: 28
[Submit][Status][Web Board][Creator:]

Description

Input

Output

如果能拼出,输出“yes”,否则输出“no"

Sample Input

5
1 2 3 4 5

Sample Output

yes

Source

[Submit][Status]