#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
//int main()
//{
//	int i = 0;
//	for (i = 1; i <= 100; i++)
//	{
//  if (i % 3 == 0)
//  	printf("%d ",i);
//
//	}
//	return 0;
//}
//int main()
//{
//	int m = 24;
//	int n = 18;
//	int r = 0;
//	scanf("%d%d", &m, &n);
//	while (m % n)
//	{
//  r = m % n;
//  m = n;
//  n = r;
//	}
//	printf("%d\n", n);
//	return 0;
//}
//int main()
//{
//	int year = 0;
//	int count = 0;
//	for (year = 1000; year <= 2000; year++)
//	{
//  //
 //if (year % 4 == 0 && year % 100 != 0)
 //{
 //	printf("%d ", year);
 //	count++;
 //}
 //else if (year % 400 == 0)
 //{
 //	printf("%d ", year);
 //	count++;
 //}
//  if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0))
//  {
//  	printf("%d ", year);
//  	count++;
//  }
//	}
//	printf("\ncount=%d\n", count);
//	return 0;
//}
//int main()
//{
//	int i = 0;
//	int count = 0;
//	for (i = 100; i <= 200; i++)
//	{
//  //判断i是否为素数
//  //素数判断的规则
//  //1.试除法
//  //产生2->i-1
//  int j = 0;
//  for (j = 2; j < i; j++)
//  {
//  	if (i % j == 0)
//  	{
//    break;
//  	}
//  }
//  if (j == i)
//  {
//  	count++;
//  	printf("%d ", i);
//  }
//	}
//	printf("\ncount=%d\n", count);
//	return 0;
//}










