package wenye;
public class Demo2 {
public static void main(String[] args) {
int sum=0,i=1;
while(i<=200) {
if (i%3==0) {
sum+=i;
}
i++;
}
System.out.println(sum);
}
}