Fix missing parenthesis and apply a list of types to `get' procedure
Fix the logic because it doesn't work correctly
Answer ex2-92