def unpack_fraction(num: str) -> str:
nums = [int(n) for n in num.split('<STR_LIT:/>') if n]<EOL>if len(nums) == <NUM_LIT:2> and nums[<NUM_LIT:0>] > nums[<NUM_LIT:1>]:<EOL><INDENT>over = nums[<NUM_LIT:0>] // nums[<NUM_LIT:1>]<EOL>rem = nums[<NUM_LIT:0>] % nums[<NUM_LIT:1>]<EOL>return f'<STR_LIT>'<EOL><DEDENT>return num<EOL>
Returns unpacked fraction string 5/2 -> 2 1/2