Question: This is a rather easy challenge.

Challenge
=========

Input will contain a string (not `null` or empty) of maximum length 100. Output the number of vowels in each word of the string, separated by spaces.

Rules
=====

* The string will not be more than 100 characters in length.
* The string will only contain alphabets `A-Z` , `a-z` and can also contain spaces.
* Input must be consumed from the `stdin` or command line arguments.
* Output must be outputted in the `stdout`.
* You can write a full program, or a function that takes input from the `stdin` and outputs the result.
* The vowels that your program/function needs to count are `aeiou` and `AEIOU`.

Test Cases
==========

```
This is the first test case     --> 1 1 1 1 1 2
one plus two equals three       --> 2 1 1 3 2
aeiou AEIOU                     --> 5 5
psst                            --> 0
the quick brown fox jumped over the lazy dog --> 1 2 1 1 2 2 1 1 1

```

Scoring
=======

This is [code-golf](/questions/tagged/code-golf "show questions tagged 'code-golf'"), so the shortest submission (in bytes) wins.

Answer: 
Pyth, 17 bytes
==============

```
jdml@"aeiou"dcrzZ

```

Straightforward solution. Try it online: [Demonstration](https://pyth.herokuapp.com/?code=jdml%40%22aeiou%22dcrzZ&input=This+is+the+first+test+case&debug=0) or [Test harness](https://pyth.herokuapp.com/?code=zFz.zp%22%20--%3E%20%22%3C%2Bz*31d31%0Ajdml%40%22aeiou%22dcrzZ&input=Test%20Cases%3A%0AThis%20is%20the%20first%20test%20case%0Aone%20plus%20two%20equals%20three%0Aaeiou%20AEIOU%0Apsst&debug=0)

### Explanation:

```
               z   input
              r Z  convert to lower-case
             c     split at spaces
  m                map each word d to:
    @"aeiou"d         filter d for chars in "aeiou"
   l                  length
jd                 join by spaces and implicitly print

```
[Arn `-a`](https://github.com/ZippyMagician/Arn), 22 bytes
==========================================================

```
(Ø-═É┤<LO¼‚R€Ê■ÊÕ'à¦┴%

```

My first Arn answer.

`-a` encloses the final array, separating the strings by spaces.

**Uncompressed:** `:s@+{"AEIOUaeiou":i&!!1+}\`

Arn has some trouble with strings, so this is a bit long.

you can omit the `-u` flag to give input directly through STDIN.

-13 bytes from Zippymagician.

[![enter image description here](https://i.stack.imgur.com/fzS1r.png)](https://i.stack.imgur.com/fzS1r.png)