Home Web Board ProblemSet Standing Status Statistics
long long输出请使用 %lld服务器的python版本为3.4
Problem F: 团队协作

Problem F: 团队协作

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 11  Solved: 7
[Submit][Status][Web Board]

Description

Input

Output

Sample Input

6
0
1
3
15
51
255

Sample Output

1
0
1
1
2
5

HINT

[Submit][Status][Web Board]