#include <bits/stdc++.h>
using namespace std;

int main() {
	long long answer = 0;
	
	long long temp = clock();
	
	for (int i = 1; i < 10000000; i++) {
		answer += (long long) sqrt(i);
	}
	
	cout << "Clock cycles taken: " << clock() - temp << endl;
	cout << "CPS: " << CLOCKS_PER_SEC << endl;
	cout << "Time taken is " << (double) ((clock() - temp)) / CLOCKS_PER_SEC << endl;
	cout << answer << endl;
}