Write PlanUML code for activity diagram that will describe the function below: \ \def algorithm(A : bool, B : bool) -> int : \    duration = 0 \    if A: \        print('1:1;') \        duration += 1 \    else: \        print('1:2;') \        duration += 2 \    if B: \        print('2:1;') \        duration += 1 \    else: \        print('2:2;') \        duration += 2