Face detection golf


Statement
You are given S contains only 'i' and 'w'.
S contains "iwi" as a substring exactly once.
Find a substring "iwi" in S and surround it with '[' and ']'.

Constraint
* 1 ≤ |S| ≤ 20
Sample Input
Sample Output
Contest ID
0009
Writer
admin
Publish date
2021/05/13 23:00:00
Solved
462
Best
1
Top player
Eki1009