from typing import Dict


def cookie_parser(input_str: str) -> Dict:
    """Takes input like: foo=bar&baz=qux&zap=zazzle and parses it into a dict"""
    return {k_v_str.split('=')[0]: k_v_str.split('=')[1] for k_v_str in input_str.split('&')}