A string of three English letters is formed as per the following rules:
I. The first letter is any vowel.
II. The second letter is m, n or p.
III. If the second letter is m, then the third letter is any vowel which is different from the first letter.
IV. If the second letter is n, then the third letter is e or u.
V. If the second letter is p, then the third letter is the same as the first letter.
In the adjoining figure, the lines represent one-way roads allowing travel only northwards or only westwards. Along how many distinct routes can a car reach point B from point A?