#include <stdio.h>

int main() {
	int d = 0;
	float time_w = 0.0f, time_c = 0.0f;
	scanf("%d", &d);

	time_w = d;
	time_c = 10.0 + d / 10.0;

	if (time_w > time_c)
		printf("v");
	if (time_w < time_c)
		printf("w");

	return 0;
}