#include #include #include #include #include #include #include int main(){ int n; int x; int y,ttl=0; scanf("%d %d %d",&n,&x,&y); for(int a0 = 0; a0 < n; a0++){ int latitude; int longitude; int height; int points; scanf("%d %d %d %d",&latitude,&longitude,&height,&points); // your code goes here ttl+=points; } printf("%d",ttl); return 0; }