def METHOD_NAME(submissions):
    buckets = collections.defaultdict(list)
    for s in submissions:
        if 'charid' in s:
            bucket = 'char'
        else:
            bucket = s['subtype'] // 1000
        buckets[bucket].append(s)
    return (
        submissions[:22],
        buckets[1][:11],
        buckets[2][:11],
        buckets[3][:11],
        buckets['char'][:11],
    )