#include #include typedef unsigned int uint; typedef unsigned long long int ull; int main() { uint N=0; scanf("%u",&N); ull r=0; for(uint i=0; i