{"problem":{"name":"Treasure Chest","description":{"content":"You are given a string $S$ of length $N$ consisting of three kinds of characters: `.`, `|`, and `*`. $S$ contains exactly two `|` and exactly one `*`. Determine whether the `*` is between the two `|`,","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc299_a"},"statements":[{"statement_type":"Markdown","content":"You are given a string $S$ of length $N$ consisting of three kinds of characters: `.`, `|`, and `*`. $S$ contains exactly two `|` and exactly one `*`.\nDetermine whether the `*` is between the two `|`, and if so, print `in`; otherwise, print `out`.\nMore formally, determine whether one of the characters before the `*` is `|` and one of the characters after the `*` is `|`.\n\n## Constraints\n\n*   $3\\leq N\\leq 100$\n*   $N$ is an integer.\n*   $S$ is a string of length $N$ consisting of `.`, `|`, and `*`.\n*   $S$ contains exactly two `|`.\n*   $S$ contains exactly one `*`.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc299_a","tags":[],"sample_group":[["10\n.|..*...|.","in\n\nBetween the two `|`, we have `|..*...|`, which contains `*`, so you should print `in`."],["10\n.|..|.*...","out\n\nBetween the two `|`, we have `|..|`, which does not contain `*`, so you should print `out`."],["3\n|*|","in"]],"created_at":"2026-03-03 11:01:14"}}