def print_first():
    print '+',
    print '-'*4,
    print '+',
    print '-'*4,
    print '+',

def print_Sec():
    print '|', ' ' * 4, '|', ' ' * 4, '|',


print "Two Rows, Two Colomns : "
print_first()
print ''
print_Sec()
print ''
print_Sec()
print ''
print_Sec()
print ''
print_Sec()
print ''
print_first()
print ''
print_Sec()
print ''
print_Sec()
print ''
print_Sec()
print ''
print_Sec()
print ''
print_first()


#this part still not written successfully :-(
print ''
print "Four Rows, Four Colomns : "
print_first()
print_first()
print ''
print_Sec()
print_Sec()
print ''
print_Sec()
print_Sec()
print ''
print_Sec()
print_Sec()
print ''
print_Sec()
print_Sec()
print ''
print_first()
print_first()
print ''
print_Sec()
print_Sec()
print ''
print_Sec()
print_Sec()
print ''
print_Sec()
print_Sec()
print ''
print_Sec()
print_Sec()
print ''
print_first()
print_first()
