import sys
import json
import easyquotation
from datetime import date, datetime
for line in sys.stdin:
    codesStr = line[:-1]
codes = codesStr.split(',')


class DatetimeEncoder(json.JSONEncoder):

    def default(self, obj):
        if isinstance(obj, datetime):
            return obj.strftime('%Y-%m-%d %H:%M:%S')
        elif isinstance(obj, date):
            return obj.strftime('%Y-%m-%d')
        else:
            return json.JSONEncoder.default(self, obj)


quotation = easyquotation.use('tencent')
print(json.dumps(quotation.stocks(codes, prefix=True), cls=DatetimeEncoder))

a1e90773ea3ad9a521deac9c484d64b4e8c259a9
<mask token>


class DatetimeEncoder(json.JSONEncoder):
    <mask token>


<mask token>

<mask token>
for line in sys.stdin:
    codesStr = line[:-1]
<mask token>


class DatetimeEncoder(json.JSONEncoder):

    def default(self, obj):
        if isinstance(obj, datetime):
            return obj.strftime('%Y-%m-%d %H:%M:%S')
        elif isinstance(obj, date):
            return obj.strftime('%Y-%m-%d')
        else:
            return json.JSONEncoder.default(self, obj)


<mask token>
print(json.dumps(quotation.stocks(codes, prefix=True), cls=DatetimeEncoder))

<mask token>
for line in sys.stdin:
    codesStr = line[:-1]
codes = codesStr.split(',')


class DatetimeEncoder(json.JSONEncoder):

    def default(self, obj):
        if isinstance(obj, datetime):
            return obj.strftime('%Y-%m-%d %H:%M:%S')
        elif isinstance(obj, date):
            return obj.strftime('%Y-%m-%d')
        else:
            return json.JSONEncoder.default(self, obj)


quotation = easyquotation.use('tencent')
print(json.dumps(quotation.stocks(codes, prefix=True), cls=DatetimeEncoder))

import sys
import json
import easyquotation
from datetime import date, datetime
for line in sys.stdin:
    codesStr = line[:-1]
codes = codesStr.split(',')


class DatetimeEncoder(json.JSONEncoder):

    def default(self, obj):
        if isinstance(obj, datetime):
            return obj.strftime('%Y-%m-%d %H:%M:%S')
        elif isinstance(obj, date):
            return obj.strftime('%Y-%m-%d')
        else:
            return json.JSONEncoder.default(self, obj)


quotation = easyquotation.use('tencent')
print(json.dumps(quotation.stocks(codes, prefix=True), cls=DatetimeEncoder))
