fork download
#include <stdio.h>

int main(void) {
	// your code goes here
	int a=1;
	int sum=0;
	
	
		 
	while(a<=100){	
		if ((a%3!=0)&&(a%10>=6)){
			sum=sum+a;
		}
		a=a+1;
		
	};
	
	printf("%d",sum);
	return 0;

	return 0;
}
Success #stdin #stdout 0s 5304KB
stdin
Standard input is empty
stdout
1365