#框架
while True:
try:
except:
break
while True:
try:
rol=list(map(int,input().strip('[]').strip(']').split(',')))
rol
#框架
while True:
try:
except:
break
while True:
try:
rol=list(map(int,input().strip('[]').strip(']').split(',')))
rol