def add_quantities(q1, q2):
    """
    This function adds two quantities of any class.
    This is done by trying it's level best to add them and if it fails it
    returns the string "Some"
    """
    if q1 is None:
        return q2
    if q2 is None:
        return q1
    try:
        return q1 + q2
    except BaseException:
        pass
    try:
        return q2 + q1
    except BaseException:
        pass
    try:
        return q1 + type(q1)(q2)
    except BaseException:
        pass
    try:
        return q2 + type(q2)(q1)
    except BaseException:
        return 'Some'
