Problem9332--ABC299 —— A - Treasure Chest

9332: ABC299 —— A - Treasure Chest

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

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 `|`, and if so, print `in`; otherwise, print `out`.

More formally, determine whether one of the characters before the `*` is `|` and one of the characters after the `*` is `|`.

Input

The input is given from Standard Input in the following format:

```
$N$
$S$
```

Output

Print a single line containing `in` if the `*` is between the two `|`, and `out` otherwise.

Constraints

$3\leq N\leq 100$
$N$ is an integer.
$S$ is a string of length $N$ consisting of `.`, `|`, and `*`.
$S$ contains exactly two `|`.
$S$ contains exactly one `*`.

Sample 1 Input

10
.|..*...|.

Sample 1 Output

in
Between the two |, we have |..*...|, which contains *, so you should print in.

Sample 2 Input

10
.|..|.*...

Sample 2 Output

out
Between the two |, we have |..|, which does not contain *, so you should print out.

Sample 3 Input

3
|*|

Sample 3 Output

in

Source/Category