In a certain code, each consonant is replaced by the next letter of the alphabet (Z becomes A) and each vowel is replaced by its position among the vowels (A=1, E=2, I=3, O=4, U=5). Using this rule, 'DANGER' is written as 'E1OH2S'. How is 'HAZARD' written in this code?
- AI1A1SE
- BI2A1TE
- CI1B1SF
- DH1A1SD