def vis7(n):  # DONE
    """
    OOO  OO   OO
         OOO  OO
              OOO
    Number of Os:
    3    5    7"""
    result = ''
    for i in range(n - 1):
        result += 'OO\n'
    result += 'OOO\n'
    return result