#include <stdio.h>
#include <math.h>

/*-->|  only interpreter

void *stdout_write = eval("sys.stdout.write")
void *stdout_flush = eval("sys.stdout.flush")

sys_exec("global math ; import math")
double M_PI = eval("math.pi");
void *sin = eval("math.sin");

|<--*/  // only interpreter

//|-->  only compiler

void stdout_write(char *s)
{
	printf("%s", s);
}

void stdout_flush(void)
{
	fflush(stdout);
}

//<--|  // only compiler

void show_str(char *s)
{
	stdout_write(s);
	stdout_flush();
}

void show_spc(int n)
{
	int i;
	for (i=0; i<n; i++) show_str(" ");
}

int main(int ac, char **av)
{
	double r = 10.0;
	int i, n = 20;

	for (i=0; i<n; i++) {
		double a = 2 * M_PI * i / n;
		int m = sin(a) * r + r;
		show_spc(m);
		show_str("@\n");
	}
	return 0;
}