/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
int N, i;
Scanner ler
= new Scanner
(System.
in);
N = ler.nextInt();
for(i = 0; i < N; i++){
System.
out.
print("V" + (i
< N
- 1 ? " " : "!")); }
System.
out.
println(); //separar os dois testes
for(i = 0; i < N - 1; i++){
}
if (N > 0) {
}
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCWludCBOLCBpOwogICAgICAgIFNjYW5uZXIgbGVyID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCiAgICAgICAgTiA9IGxlci5uZXh0SW50KCk7CiAgICAgICAgCiAgICAgICAgZm9yKGkgPSAwOyBpIDwgTjsgaSsrKXsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludCgiViIgKyAoaSA8IE4gLSAxID8gIiAiIDogIiEiKSk7CiAgICAgICAgfQogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigpOyAvL3NlcGFyYXIgb3MgZG9pcyB0ZXN0ZXMKICAgICAgICAKICAgICAgICBmb3IoaSA9IDA7IGkgPCBOIC0gMTsgaSsrKXsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludCgiViAiKTsKICAgICAgICB9CiAgICAgICAgaWYgKE4gPiAwKSB7CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigiViEiKTsKICAgICAgICB9Cgl9Cn0=