#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; cin >> n; vector nums(n); for(int i=0; i> nums[i]; unsigned long long count = 0; unsigned long long mod = (unsigned long long)pow(10,9)+7; vector::iterator first,last; int chuncks; bool valid = true; for(int Vsize = 1; Vsize<=n; Vsize++) { chuncks = ceil(n/Vsize); first = nums.begin(); for(int i=0; i