Write a program that reads a person’s name and greets them humorously.
The input is a person’s name.
If the name is masculine, you should write ‘Hola maco!’.
If the name is feminine, you should write ‘Hola maca!’.
Assume that all names that end with A are feminine.
To solve this problem in Haskell, write a function main and choose the compiler GHC.
Input
Albert
Output
Hola maco!
Input
Sonia
Output
Hola maca!