#include "stdio.h"int main(){int sum=0;int i;for(i=1;i<=100;i++){if(i%3==0 && i%5==0){sum+=i;printf("%d ",i);}}printf("\n%d",sum);return 0;}