#include using namespace std; using Int = signed; //INSERT ABOVE HERE signed main(){ Int n; scanf("%d\n",&n); Int ans=0; for(Int i=0;i