当时第一个引号时先记录,到了第二个引号 把与第一个引号之间的内容拼起来

a = input().split()
b = ''
c = []
for i in a:
    if '"' not in i and len(b) ==0:
        c.append(i)
    elif '"'  in i and len(b) ==0:
        if i[-1] == '"' and i[0]=='"':
            c.append(i[1:-1])
        else:
            b +=i
    elif '"' not in i and len(b) !=0:
        b += ' '
        b += i
    elif '"'  in i and len(b) !=0:
        b += ' '+i[:-1]
        c.append(b[1:])
        b = ''
print(len(c))
for j in c:
    print(j)