#include <stdio.h> int main() { int a, b; scanf("%d%d", &a, &b); puts((a * b) % 2 == 0 ? "[:=[first]" : "[second]=:]"); return 0; }