from AlignmentMatrix import calculate_alignment


if __name__ == '__main__':
    # matrix_for_printing = calculate_alignment(input(), input(), "global")
    # matrix_for_printing = calculate_alignment(input(), input(), "local")
    matrix_for_printing = calculate_alignment(input(), input(), "semi-global")
    # matrix_for_printing.print_colored_matrix()

from AlignmentMatrix import calculate_alignment


if __name__ == '__main__':
    # matrix_for_printing = calculate_alignment(input(), input(), "global")
    # matrix_for_printing = calculate_alignment(input(), input(), "local")
    matrix_for_printing = calculate_alignment(input(), input(), "semi-global")
    # matrix_for_printing.print_colored_matrix()

# matrix_for_printing = calculate_alignment(input(), input(), "global") # matrix_for_printing = calculate_alignment(input(), input(), "local") # matrix_for_printing.print_colored_matrix()