#include <stdio.h>

void func()
{
	static int c = 0;

	printf("%d\n", c);
	c++;
}

int main(void)
{
	func();
	func();
	func();

	return 0;
}
