<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getItalianAccentedVocal(vocal, acc_type="g"):
 """ It returns given vocal with grave or acute accent """

    vocals = {'a': {'g': u'\xe0', 'a': u'\xe1'},
              'e': {'g': u'\xe8', 'a': u'\xe9'},
              'i': {'g': u'\xec', 'a': u'\xed'},
              'o': {'g': u'\xf2', 'a': u'\xf3'},
              'u': {'g': u'\xf9', 'a': u'\xfa'}}
    return vocals[vocal][acc_type]