Task: Misc.
Input (English): did
Output (English): mid