def r(o):print(''.join(['| '*8if h=='8'else'| '*int(h)if h.isdigit()else'|\n'if h=='/'else'|'+h for h in o])+'|') r(input())
r1bk3r/p2pBpNp/n4n2/1p1NP2P/6P1/3P4/P1P1K3/q5b1
|r| |b|k| | | |r| |p| | |p|B|p|N|p| |n| | | | |n| | | | |p| |N|P| | |P| | | | | | | |P| | | | | |P| | | | | |P| |P| |K| | | | |q| | | | | |b| |