#include <stdio.h>

void test(int x) {
    if (x == "open")
        printf("opened\n");
    if (x == "close")
        printf("closed\n");
}

int main() {
    test("open");
    test("close");
    return 0;
}