<>;for(<>){ $\+=/\bakai\b/&/\bmarui\b/+/\bokii\b/+/\bumai\b/; } print