zero = ["+--+","| |","| |","+ +","| |","| |","+--+"] #check
one = [" +"," |"," |"," +"," |"," |"," +"] #check
two = ["+--+"," |"," |","+--+","| ","| ","+--+"] #check
three = ["+--+"," |"," |","+--+"," |"," |","+--+"] #check
four = ["+ +","| |","| |","+--+"," |"," |"," +"] #check
five = ["+--+","| ","| ","+--+"," |"," |","+--+"] #check
six = ["+--+","| ","| ","+--+","| |","| |","+--+"] #check
seven = ["+--+"," |"," |"," +"," |"," |"," +"] #check
eight = ["+--+","| |","| |","+--+","| |","| |","+--+"] #check
nine = ["+--+","| |","| |","+--+"," |"," |"," +"]
for i in 0..6
print zero[i] +
" " +
one[i] +
" " +
two[i] +
" " +
three[i] +
" " +
four[i] +
" " +
five[i] +
" " +
six[i] +
" " +
seven[i] +
" " +
eight[i] +
" " +
nine[i]
puts
end