def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
def digits(x: int) -> int:
s = str(x)
return len(s) - 1 if s[0] == "-" else len(s)
return sum(filter(lambda x: digits(x) <= 2, arr[:k]))
[[[1, -2, -3, 41, 57, 76, 87, 88, 99], 3], [[111, 121, 3, 4000, 5, 6], 2], [[11, 21, 3, 90, 5, 6, 7, 8, 9], 4], [[111, 21, 3, 4000, 5, 6, 7, 8, 9], 4], [[1], 1]]
[[[98, 87, 76, 65, 54, 43, 32, 21, 10], 5], [[-4, 5, 67, 34, 56, 12, 89, 23, 45], 7], [[100, 200, 300, 400, 500, 600], 3], [[10, 20, 30, 40, 50, 60], 1], [[-1, -2, -3, -4, -5, -6, -7, -8, -9], 4], [[9, 10, 11, 100, 200, 300], 5], [[90, 80, 70, 60, 50, 40, 30], 3], [[1, 11, 22, 99, 100, 999], 6], [[5, 10, 15, 20, 25, 30, 35, 40, 45, 50], 10], [[101, 202, 303], 2], [[98, 87, 65, 54, 43, 32, 21, 10, 87], 5], [[100, 199, 300, 400, 500, 600], 3], [[200, 300, 400, 500, 600], 3], [[-1, -2, -3, -4, -5, -6, -7, -8, -9], 3], [[100, 199, 300, 400, 500, 600], 2], [[98, 87, 76, 20, 65, 54, 43, 32, 21, 10], 5], [[98, 87, 76, 20, 65, 54, 43, 32, 21, 10, 87], 5], [[100, 199, 400, 500, 600], 2], [[-4, 5, 67, 34, 56, 12, 23, 87], 7], [[-1, -2, -3, -4, -5, -6, -7, -8, -10], 3], [[90, 80, 70, 60, 50, 40, 30, 90], 3], [[-1, -2, -3, -4, -5, -6, -7, 99, -10], 3], [[100, 199, 300, 400, 500, 600, 600], 3], [[-4, 5, 67, 34, 56, 12, 23, 87, 67, 34], 7], [[101, 303], 2], [[5, 10, 15, 20, -2, 25, 30, 35, 40, 45, 50], 10], [[9, 10, 11, 101, 200, 300], 6], [[5, 10, 15, 20, -2, 25, 30, 35, 40, 45, 50, -2], 10], [[-4, 5, 67, 34, 56, 12, 23, 87, 67], 7], [[100, 199, 300, 400, 500, 600], 1], [[100, 199, 400, 9, 500, 600], 2], [[100, 199, 299, 400, 500, 600], 3], [[5, 21, 10, 15, 20, -2, 25, 30, 35, 40, 45, 50], 10], [[5, 21, 10, 15, 20, -2, 25, 30, 35, 40, 45, 50, 5], 10], [[100, 199, 300, 400, 500, 600, 300], 2], [[-1, -2, -3, -4, -5, -6, -7, 99, -10], 2], [[100, 199, 300, 399, 500, 600, 50, 300], 1], [[9, 10, 11, 100, 200, 300], 4], [[101, 23], 2], [[-7, -1, -2, -3, -4, -5, -6, -7, 99, -10], 2], [[-1, -2, -3, -4, -5, -6, -7, -8], 5], [[-1, -2, -3, -4, -5, -6, -7, 99, -10], 4], [[-4, 5, 67, 34, 56, 12, 89, 23, 11, 45], 7], [[100, 199, 300, 400, 500, 600, 300], 7], [[90, 80, 60, 50, 40, 51, 30], 3], [[-1, -2, -3, -4, -5, -6, 35, -8], 5], [[304, 101, 303], 2], [[98, 87, 65, 54, 43, 32, 21, 10, 87, 21], 6], [[9, 10, 100, 200, 10, 300, 10], 5], [[5, 21, 10, 15, 20, -2, 25, 30, 35, 40, 45, 50, 5, 10], 11], [[23, 101, 23], 2], [[90, 80, 70, 60, 50, 40, 30], 2], [[-1, -2, -3, 12, -5, -6, 35, -8], 5], [[-4, 5, 67, 34, 56, 12, 89, 23, 11, 45], 8], [[-4, 5, 67, 34, 56, 12, 23, 87], 6], [[101, 23], 1], [[202, 101, 202, 303], 2], [[-4, 5, 67, 34, 56, 12, 23, 87, 67, -4], 7], [[-1, -2, -3, -4, -5, -6, -7, -8, -9, -8], 3], [[5, 21, 10, 20, -2, 25, 30, 35, 40, 45, 50], 9], [[-5, 5, 67, 34, 56, 12, 23, 87, 67, 34], 7], [[5, 21, 10, 15, 20, -2, 25, 30, 35, 40, 45, 50], 12], [[90, 80, 70, 60, 50, 40, 30, 90, 70], 3], [[100, 300, 400, 500, 600, 600], 1], [[5, 10, 15, 20, 24, 30, 35, 40, 45, 50], 10], [[100, 199, 400, 9, 600], 2], [[98, 87, 76, 20, -6, 65, 54, 43, 32, 21, 10, 87], 5], [[90, 23, 70, 60, 50, 40, 30], 3], [[100, 35, 199, 400, 500, 600, 300], 2], [[5, 21, 10, 15, 20, -2, 25, 30, 35, 40, 45, 49], 11], [[5, 10, 15, 20, -2, 25, 30, 35, 40, 16, 45, 50], 11], [[100, 199, 300, 400, 500, 600, 600, 199], 2], [[-1, -2, -3, -4, -6, -7, -8, -9], 4], [[-1, -2, -3, -4, -6, 16, -8, -9], 4], [[60, 101, 303], 2], [[-1, -2, -3, -4, -5, -6, -7, 99, -10], 5], [[98, 87, 76, 20, -6, 65, 43, 32, 21, 10, 87], 5], [[100, 199, 300, 400, 500, 600, 300], 1], [[98, 87, 76, 20, -6, 54, 43, 32, 21, 10, 87], 5], [[100, 35, 199, 400, 500, 600, 300, 199], 5], [[5, 21, 10, 20, -2, 25, 30, 35, 40, 45, 50], 10], [[100, 35, 199, 501, 400, 500, 600, 300], 1], [[50, 9, 100, 200, 10, 300, 10], 5], [[100, 35, 199, 400, 500, 600, 500, 300, 199], 2], [[5, 21, 10, 15, 20, 70, 25, 30, 35, 40, 45, 50], 10], [[-5, 5, 67, 34, 56, 12, 23, 87, 67, 34, 12], 6], [[5, 21, 10, 15, 20, -2, 25, 30, 35, 40, 45, 50], 11], [[23, 100, 101, 23], 2], [[98, 87, 76, 20, 65, 54, 43, 32, 21, 10, 87, 87, 54], 5], [[-2, -3, -4, -5, -6, -7, 99, -10], 4], [[5, 21, 10, 15, 20, 70, 25, 30, 35, 40, 45, 50, 40], 10], [[100, 199, 300, 400, -7, 600, 300], 7], [[-4, 5, 67, 56, 12, 23, 87, 67], 7], [[200, 301, 400, 500, 600], 2], [[-1, -2, -3, -4, -5, -6, 8, 99, -10], 3], [[100, 199, 300, 32, 400, 500, 600], 3], [[90, 80, 70, 60, 50, 40, 31], 3], [[5, 21, 10, 15, 20, -2, 25, 30, 35, 40, 45, 5], 10], [[5, 21, 10, 15, 20, -2, 25, 30, 35, 40, 45, 50, 5, 25], 11], [[9, 10, 11, 100, 12, 200], 4], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 9, 10], 8], [[-99, -88, -77, -66, -55, -44, -33, -22, -11], 5], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110], 7], [[111, 321, 500, 100, 200, 300, 400, 600, 700], 3], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 800], 5], [[11, 22, 33, 44, 55, 66, 77, 88, 99], 9], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99], 10], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000], 3], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[1000000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 800], 4], [[10, 20, 31, 40, 50, 60, 70, 80, 90, 100, 110], 7], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 9, 10, 7], 8], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000], 4], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 9, 33, 10], 9], [[1000000, 3, 200, 3, 40, 5000000, 60, 7, 8000, 9, 10, 7], 8], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[111, 1111, 22, 222, 333, 445, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000], 12], [[-99, -89, -77, -66, -55, -44, -33, -22, -11], 5], [[1000000, 200, 3, 40, 5000000, 60, 7, 4999999, 8000, 9, 10, 7], 8], [[10, 200, 300, 400, 500, 600, 700, 800, 900, 1000], 3], [[111, 1111, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 5], [[-99, -89, -77, -55, 900, -44, -33, -22, -11], 5], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 12], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 800], 5], [[8000, 1000000, 200, 3, 40, 5000000, 60, 7, 8000, 9, 10], 8], [[10, 200, 300, 400, 600, 700, 800, 900, 1000], 3], [[111, 1111, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000, 7000], 4], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 12], [[10, 200, 300, 400, 700, 800, 900, 200, 1000], 3], [[3, 200, 3, 40, 5000000, 7, 8000, 9, 10, 7], 8], [[10, 20, 31, 40, 50, 60, 70, 1000000, 80, 90, 100, 110], 6], [[-99, -88, -78, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99], 10], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4039, 5050, 6000, 7000, 8000, 9000], 12], [[-99, -89, -77, -55, 900, -44, -33, -22, -11], 6], [[2, 200, 3, 40, 5000000, 7, 8000, 9, 10, 7], 8], [[111, 1111, 22, 222, 333, 445, 555, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, -55, 8000, 9000, 555], 12], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000], 11], [[111, 1111, 22, 222, 333, 445, 555, 777, 888, 999, 1000, 2000, 8000, 4040, -78, 5050, 6000, 7000, 8000, 9000], 12], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 200], 3], [[1000, 20, 101, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 800], 5], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 10, 10], 8], [[1000, 20, 101, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 333], 6], [[1000, 20, 101, 300, 39999, 100, 500, 10000, 6000, 70, 40000, 800], 5], [[1000000, 20, 5000000, 40000, 100, 500, 10000, 6000, 70, 800], 4], [[100, 100, 201, 300, 400, 500, 600, 700, 800, 900, 1000, 200], 3], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 11], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000], 4], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 12], [[1000000, 20, 5000000, 40000, 100, 500, 9999, 6000, 70, 801], 3], [[1000, 20, 101, 300, 39999, 100, 500, 10000, 6000, 70, 40000, 800], 4], [[80, 8, 200, 3, 40, 5000000, 60, 7, 4999999, 8000, 9, 10, 7], 8], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4039, 5050, 6000, 4039, 7000, 8000, 9000], 12], [[1000000, 200, 2000, 40, 5000000, 60, 7, 8000, 9, 10], 8], [[111, 1111, 22, 222, 0, 555, 666, 888, 999, 1000, 2000, 3030, 5050, 6000, 7001, 8000, 9000, 111], 12], [[-99, -89, -77, -55, 900, -44, -22, -11], 7], [[-99, -99, -89, -77, -55, 900, -44, -33, -22, -11], 5], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 444, 7000, 8000, 9000, 111], 12], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800], 5], [[111, 1111, 222, 333, 445, 555, 777, 888, 999, 1000, 2000, 8000, 4040, -78, 5050, 6000, 7000, 8000, 9000], 12], [[1000, 300, 40000, 100, 500, 10000, 6000, 70, 800], 5], [[3, 201, 3, 40, 5000000, 7, 8000, 9, 10, 7], 8], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 500, 20], 4], [[1000, 50, 20, 101, 300, 39999, 100, 500, 10000, 6000, 70, 40000, 800], 4], [[1000, 20, 101, 300, 40000, 100, 500, 10000, 501, 6000, 70, 40000, 333], 6], [[-100, -89, -77, -55, 900, -44, -22, -11], 7], [[1000000, 200, 3, 40, 60, 7, 4999999, 8000, 9, 10, 7], 8], [[1000, 300, 300, 100, 500, 10000, 6000, 70], 5], [[10, 20, 31, 40, 50, 60, 70, 80, 90, 100, 111], 7], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[10, 901, 200, 300, 400, 500, 600, 700, 800, 900, 1000], 3], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 13], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000], 5], [[1000, 20, 101, 300, 39999, 100, 500, 6000, 40000, 800], 4], [[10, 20, 31, 40, 50, 60, 71, 1000000, 80, 90, 100, 110], 6], [[1000001, 200, 3, 40, 5000000, 7, 8000, 9, 10], 8], [[-99, -88, -77, -55, 900, -44, -22, -11], 8], [[10, 200, 300, 400, 700, 800, 900, 200, 1000], 2], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 8000], 12], [[-99, -99, -89, -77, -55, 900, -44, -33, -22, -11], 6], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 1111], 12], [[100, 100, 201, 99, 300, 400, 500, 600, 700, 800, 900, 1000, 200], 2], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 444, 1000], 10], [[200, 300, 400, 500, 600, 700, 800, 900, 1000], 3], [[1000, 20, 101, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 333], 7], [[1000, 101, 300, 39999, 100, 500, 6000, 40000, 800, 20], 4], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 90], 7], [[111, 1111, 0, 222, 333, 300, 444, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 8000], 12], [[111, 321, 500, 100, 200, 300, 400, 600, 700, 200], 3], [[1000, 20, 101, 300, 40000, 100, 500, 500, 10000, 501, 6000, 70, 40000, 333], 6], [[200, 300, 400, 500, 600, 700, 800, 900, 1000, 600], 3], [[111, 1111, 22, 222, 333, 445, 555, 777, 888, 999, 1000, 2000, 8000, 4040, -78, 5050, 7000, 8000, 9000], 13], [[1000000, 20, 5000000, 40000, 100, 500, 10000, 6000, 70, 800], 5], [[-99, -99, -89, 7001, -55, 900, -44, -33, -22, -11], 6], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 444, 7000, 8000, 9000, 111], 11], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 4040], 12], [[1000000, 200, 3, 40, 5000000, 60, 7, 11, 8001, 8000, 9, 10, 5000000], 8], [[10, 20, 31, 40, 50, 60, 70, 80, 90, 100, 111], 3], [[111, 1111, 22, 333, 444, 555, 71, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 10, 10, 10], 8], [[-99, -89, -77, -55, 900, -44, -33, -22, -11, -99], 6], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 4040], 11], [[-99, -88, -78, -66, -55, -44, -33, 10000, 600, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99], 10], [[1000000, 3, 200, 3, 40, 5000000, 60, 7, 8000, 9, 10, 7], 7], [[100, 200, 300, 400, 501, 600, 700, 800, 900, 1000, 200], 3], [[111, 1111, 22, 55, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 1111], 12], [[1000000, 20, 300, 40000, 100, 40001, 500, 10000, 6000, 70, 800], 3], [[100, 200, 400, 500, 600, 700, 800, 900, 1000, 200], 3], [[1000, 20, 300, 40000, 100, 500, 100, 6000, 70, 800], 6], [[1000, 555, 101, 300, -89, 100, 500, 10000, 6000, 70, 40000, 800], 4], [[20, 200, 3, 40, 5000000, 60, 7, 8000, 10], 8], [[111, 1111, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000], 4], [[1000000, 20, 5000000, 40000, 100, 500, 10000, 6000, 70, 800], 6], [[-99, -88, -78, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 4, 55, 66, 77, 88, 99], 10], [[1000000, 2, 200, 3, 40, 5000000, 60, 7, 8000, 9, 10, 7], 8], [[1000000, 2, 200, 3, 5000000, 60, 7, 8000, 9, 10, 7], 8], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 4040, 22], 12], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4039, 5050, 6000, 4039, 7000, 8000, 8999], 12], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 5999, 7000, 8000, 9000], 12], [[200, 3, 40, 60, 7, 8000, 9, 10, 7], 8], [[10, 20, 31, 40, 50, 60, 71, 1000000, 80, 90, 100, 110, 100], 6], [[200, 3, 40, 60, 7, 9, 10, 7], 8], [[111, 1111, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 13], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 12], [[-99, -99, -89, -77, -55, 900, -44, -33, -21, -22, -11], 5], [[1000, 300, 300, 100, 100, 500, 10000, 6000, 70], 5], [[-99, -99, -89, -77, -55, 900, -44, -21, -22, -11], 4], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 9, 7, 10, 7, 3], 9], [[-99, -89, -77, -55, 900, -44, -21, -22, -11], 4], [[111, 1111, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000, 111], 4], [[111, 1111, 22, 222, 333, 444, 111, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 11], [[20, 301, 40000, 100, 500, 10000, 6000, 70, 40000, 800], 5], [[1000, 20, 101, 300, 39999, 100, 500, 10000, 6000, 445, 70, 40000, 800, 445], 4], [[100, 100, 201, 99, 300, 400, 500, 600, 700, 800, 900, 1000, 200, 201], 2], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 800], 6], [[111, 1111, 222, 333, 445, 555, 777, 888, 999, 1000, 2000, 8000, 4040, -78, 5050, 6000, 7000, 8000, 9000], 13], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000, 100], 4], [[1000, 20, 300, 40000, 100, 500, 100, 6000, 70, 800, 40000], 6], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 5999, 7000, 8000, 9000, 7000], 12], [[1000, 20, 300, 6000, 500, 10000, 6000, 70, 40000, 799], 6], [[111, 1111, 22, 222, 334, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 12], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 444, 6999, 8000, 9000, 111], 12], [[1000, 20, 101, 300, 501, 39999, 100, 500, 10000, 6000, 70, 40000, 800], 5], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 1111], 11], [[111, 1111, 22, 222, 333, 444, 111, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 10], [[1000001, 200, 3, 40, 5000000, 7, 8000, 9, 10], 9], [[1000001, 200, 3, 40, 5000000, 40, 8000, 9, 10, 8000], 9], [[1000, 20, 101, 300, 40000, 100, 500, 500, 10000, 501, 6000, 70, 40000, 333, 333], 6], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 10, 10], 7], [[-99, -89, -66, -55, -44, -33, -22, -11], 5], [[1000, 20, 101, 300, 39999, 100, 5, 6000, 40000, 800], 4], [[1000, 20, 101, 300, 40000, 99, 500, 10000, 6000, 70, 40000, 800], 5], [[111, 321, 500, 100, 200, 300, 400, 99, 700], 3], [[111, 1111, 22, 222, 333, 445, 555, 888, 999, 1000, 2000, 8000, 4040, -78, 5050, 7000, 8000, 9000], 13], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 4040], 13], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 5999, 7000, 8000, 9000, 7000, 9000], 12], [[1000, 555, 101, 300, -89, 100, 500, 10000, 6000, 70, 40000, 800], 12], [[-99, -99, -89, 7001, -55, -44, -33, -22, -11], 6], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 110, 3030, 5050, 6000, 8000, 9000], 12], [[1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800], 5], [[111, 1111, 0, 222, 333, 300, 444, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 8000], 11], [[1000, 300, 300, 100, 500, 10000, 6000, 70, 300], 5], [[200, 3, 40, 60, 7, 8000, 9, 10, 7], 3], [[111, 1111, 22, 222, 0, 555, 666, 888, 1000, 2000, 3030, 5050, 6000, 7001, 8000, 9000, 111], 12], [[1000, 20, 4039, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 800], 5], [[1000, 20, 101, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 800, 101], 5], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 800, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 13], [[111, 1111, 22, 222, 333, 444, 555, 8999, 666, 777, 888, 999, 1000, 2000, 201, 4040, 5050, 6000, 7000, 8000, 9000], 13], [[100, 200, 400, 500, 600, 700, 800, 900, 1000, 101, 200], 3], [[111, 1111, 22, 7999, 222, 333, 445, 555, 777, 888, 999, 1000, 2000, 8000, 4040, -78, 5050, 6000, 7000, 8000, 9000], 12], [[1000, 20, 300, 20, 6000, 500, 10000, 6000, 70, 40000, 799], 6], [[1000, 555, 101, 300, -89, 101, 500, 10000, 6000, 70, 40000, 800], 12], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 5999, 7000, 8000, 9000], 11], [[1000000, 200, 2, 40, 5000000, 60, 7, 8000, 10, 10], 7], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 13], [[10, 20, 31, 40, 50, 60, 70, 1000000, 80, 90, 110], 6], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 999, 112, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 11], [[1000, 20, 300, 1000001, 500, 10000, 6000, 70, 40000, 799], 6], [[10, 200, 300, 400, 700, 800, 900, 200, 1000, 900], 9], [[111, 799, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 444, 1000], 10], [[-99, -89, -77, -55, 112, 900, -44, -33, -22], 6], [[-99, -88, -78, -66, -55, -44, -33, -22, -11, 0, 11, 22, 34, 44, 55, 66, 77, 88, 99], 10], [[1000000, 3, 200, 3, 40, 5000000, 60, 7, 6, 8000, 9, 10, 7], 7], [[1000000, 200, 12, 3, 40, 5000000, 60, 7, 8000, 9, 7, 10, 7, 3], 9], [[111, 1111, 22, 222, 333, 444, 555, 666, 88, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 12], [[-99, -88, -78, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 4, 66, 77, 88, 99], 10], [[1000, 20, 300, 20, 6000, 500, 10000, 6000, 70, 40000, 799], 5], [[-99, -89, -77, -55, 900, -44, -22, -11], 4], [[11, 22, 33, 44, 55, 66, 77, 88, 99], 8], [[111, 1111, 22, 222, 333, 444, 111, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 12], [[111, 1111, 22, 112, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 12], [[20, 71, 301, 40000, 100, 500, 10000, 6000, 70, 40000, 800, 100], 5], [[10, 20, 31, 40, 50, 60, 70, 1000000, 80, 90, 100, 110, 1000000], 6], [[1000, 20, 101, 300, 34, 100, 500, 10000, 6000, 70, -100, 40000, 800], 5], [[100, 200, 400, 500, 600, 700, 800, 900, 1000], 4], [[1000, 20, 101, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 800], 6], [[1000, 20, 101, 300, 39999, 100, 5, 6000, 40000, 800, 20], 4], [[3, 201, 3, 40, 5000000, 7, 8000, 9, 10, 7], 7], [[1000000, 3, 200, 3, 40, 5000000, 39, 60, 7, 6, 8000, 9, 10, 7], 4], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000], 2], [[200, 300, 400, 500, 600, 700, 800, 900, 1000, 600], 4], [[1000000, 3, 200, 3, 40, 5000000, 39, 60, 7, 6, 8000, 9, 10, 39, 7], 4], [[111, 1111, 22, 222, 333, 444, 111, 555, 666, 777, 888, 1000, 2000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 12], [[-99, -88, -78, -66, -55, -44, -33, -22, -11, 0, 11, 22, 34, 44, 55, 66, 77, 88, 99], 9], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000], 6], [[-99, -88, -78, -66, -55, -44, -33, 10000, 600, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99, 300, -88], 10], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 110, 5050, 6000, 8000, 9000], 12], [[1000000, 200, 222, 3, 40, 5000000, 60, 7, 11, 8001, 8000, 9, 10, 5000000], 8], [[1000000, 3, 200, 3, 5000000, 39, 60, 7, 6, 8000, 9, 10, 39, 5000000], 4], [[111, 1111, 22, 222, 333, 444, 555, 666, 88, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 13], [[111, 1111, 22, 222, 333, 444, 111, 555, 666, 777, 888, 1000, 2000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111, 333], 12], [[111, 1111, 22, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 4040], 12], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 11], [[-99, -88, -78, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 4, 66, 77, 88, 99], 11], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 1111], 11], [[3, 200, 3, 5000000, 7, 8000, 9, 10, 7], 8], [[111, 1111, 22, 333, 444, 2000, 555, 666, 777, 888, 667, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 13], [[2, 9999, 200, 3, 40, 5000000, 7, 8000, 9, 10, 7, 7], 8], [[200, 3, 40, 60, 7, 8000, 9, 10, 7], 9], [[1000000, 20, 5000000, 40000, 100, 500, 9999, 7000, 6000, 70, 801], 3], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 90, 90], 7], [[1000, 20, 101, 300, 39999, 1111, 100, 500, 10000, 6000, 445, 70, 40000, 800, 445], 3], [[1000000, 200, 2000, 40, 5000000, 60, 7, 8000, 9, 10], 9], [[111, 1111, 22, 222, 333, 444, 111, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 13], [[111, 1111, 6999, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[111, 1111, 22, 222, 333, 444, 555, 8999, 666, 777, 888, 999, 1000, 2000, 202, 4040, 5050, 6000, 7000, 8000, 9000], 13], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 66, 4040, 5050, 6000, 7000, 8000, 9000], 11], [[1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800, 10000], 5], [[111, 1111, 22, 222, 333, 445, 555, 888, 10000, 999, 1000, 2000, 8000, 4040, -78, 5050, 7000, 8000, 9000], 13], [[111, 1111, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000, 7000], 5], [[-99, -99, -89, -78, -55, 900, -44, -22, -22, -11], 4], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 666, 800], 5], [[1000001, 200, 3, 40, 5000000, 7, 8000, 9], 8], [[-99, -88, -78, -66, -55, -44, -33, -22, -11, 0, 22, 33, 44, 4, 66, 77, 88, 99], 11], [[1000, 6000, 19, 300, 40000, 100, 500, 6000, 70, 800], 7], [[9, 20, 31, 40, 50, 60, 70, 80, 90, 100, 111, 40], 7], [[-99, -89, -77, -55, 900, -44, -33, -22, -11, -99], 7], [[100, 200, 400, 500, 599, 600, 700, 800, 900, 1000, 101, 200], 3], [[1000000, 2, 200, 3, 5000000, 10, 60, 7, 8000, 9, 10, 7], 8], [[111, 1111, 22, 7, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 23, 6000, 7000, 8000, 9000], 13], [[111, 1111, 0, 222, 333, 301, 444, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 8000], 10], [[200, 3, 40, 60, 999, 7, 8000, 9, 10, 7], 9], [[111, 1111, 22, 222, 333, 445, 555, 888, 10000, 23, 999, 1000, 2000, 8000, 4040, -78, 5050, 7000, 8000, 9000], 13], [[9, 7, 31, 40, 50, 60, 70, 80, 90, 100, 111, 40], 7], [[111, 444, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 12], [[-99, -89, -77, -55, -44, -21, -22, -11], 4], [[1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, -55, 8000, 9000, 555], 12], [[200, 3, 40, 60, 7, 8000, 9, 8, 10, 7], 4], [[41, 1000000, 3, 200, 3, 40, 5000000, 39, 60, 7, 6, 8000, 9, 10, 7], 4], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 1111], 12], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000], 9], [[1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800, 70], 5], [[10, 20, 31, 50, 60, 70, 1000000, 80, 90, 100, 110, 1000000], 5], [[90, 1000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 800], 5], [[1000, 20, 300, 20, 6000, 500, 10000, 6000, 70, 40000, 799, 799], 5], [[10, 901, 200, 300, 400, 500, 600, 700, 800, 900, 1000], 4], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000], 3], [[1000, 555, 101, 300, -89, 100, 500, 10000, 6000, 70, -89, 800], 12], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 90, 90, 30], 7], [[100, 200, 300, 400, 500, 600, 700, 800, 55, 1000, 200], 3], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 5999, 7000, 555, 8000, 9000], 11], [[111, 1111, 222, 333, 444, 555, 666, 777, 887, 999, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000, 111], 4], [[1000, 300, 300, 100, 500, 10000, 6000, 70], 4], [[-99, -88, -78, -66, -55, -44, -33, 333, -11, 0, 22, 33, 44, 4, 66, 77, 88, 99], 11], [[1000, 20, 300, 20, 6000, 500, 10000, 6000, 40000], 6], [[100, 100, 201, 300, 400, 500, 600, 700, 900, 1000, 200], 3], [[100, 200, 300, 400, 500, 600, 700, 800, 55, 1000, 200], 2], [[1000, 20, 101, 300, 40000, 100, 500, 500, 10000, 501, 6000, 70, 40000, 333, 333], 5], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 39999, 888, 999, 1000, 2000, 110, 3030, 5050, 6000, 8000, 9000], 12], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 500, 20], 5], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 444, 1000, 999], 10], [[-99, -88, -78, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 4, 66, 77, 88, 99, 99], 10], [[1000, 8, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000, 10000], 3], [[1000, 555, 9999, 101, 300, -89, 100, 500, 10000, 6000, 70, 40000, 800], 12], [[1000000, 2, 200, 3, 40, 5000000, 60, 7, 8000, 9, 10, 7], 7], [[-99, -89, -77, -55, 222, 900, -44, -33, -22, -11], 6], [[1000000, 200, 2, 7999, 40, 5000000, 60, 7, 8000, 10, 10], 7], [[111, 799, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 444, 1000, 2000, 2000], 10], [[1000000, 20, 5000000, 40000, 100, 500, 10000, 6000, 70, 800, 70], 6], [[111, 321, 500, 101, 200, 300, 400, 600, 700], 3], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 444, 1000, 999], 9], [[111, 1111, 22, 112, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 2000], 12], [[-99, -89, -77, -66, -55, -44, -10, -33, -22, -11, -11], 5], [[1000000, 200, 2000, 40, 5000000, 60, 7, 8000, 9, 10, 9], 8], [[111, 1111, 22, 222, 333, 445, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000, 777], 12], [[111, 1111, 22, 222, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 1111], 12], [[1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800, 70], 4], [[1000001, 200, 3, 39, 5000000, 40, 8000, 9, 10, 8000], 9], [[1000000, 3, 200, 3, 5000000, 60, 7, 8000, 9, 10, 7], 8], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4039, 5050, 6000, 4039, 7000, 8000, 8999, 8999], 12], [[200, 300, 400, 500, 600, 700, 800, 900, 1000, 600], 2], [[1000, 20, 300, 500, 10000, 6000, 70, 40000, 799, 40000], 6], [[3, 200, 3, 40, 5000000, 7, 8000, 12, 10, 7, 3], 8], [[1000000, 200, 2000, 40, 5000000, 60, 7, 8000, 9], 8], [[1000000, 200, 2000, 41, 5000000, 60, 8000, 9, 10], 8], [[10, 200, 300, 400, 700, 800, 900, 200, 1000, 900], 8], [[3, 40, 60, 7, 8000, 9, 8, 10, 7], 4], [[1000, 300, 40000, 9999, 100, 500, 10000, 9999, 6000, 70, 800, 70], 3], [[1000, 300, 40000, 202, 100, 500, 10000, 9999, 6000, 70, 800, 70], 3], [[1000, 8, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000, 10000, 70], 3], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 66, 4040, 5050, 6000, 7000, 8000, 9000, 6000], 11], [[1000, 8, 20, -66, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000, 10000], 3], [[111, 4999999, 321, 500, 101, 200, 300, 400, 600, 700], 3], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 5999, 7000, 8000, 9000, 7000], 11], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 444, 6999, 8000, 9000, 111, 8000], 12], [[20, 301, 40000, 100, 500, 10000, 6000, 70, 40000, 800], 3], [[1000000, 20, 5000000, 40000, 100, 500, 9999, 7000, 6000, 70, 801], 2], [[111, 321, 500, 101, 200, 400, 600, 700], 3], [[299, 1000, 101, 300, 39999, 100, 500, 6000, 40000, 800, 20, 500], 4], [[1000000, 2, 200, 3, 5000000, 60, 7, 8000, 9, 10, 5000000, 10], 9], [[111, 1111, 22, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 8, 5050, 6000, 7000, 8000, 4040], 12], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 10, 10, 1000000, 1000000], 8], [[4, 201, 3, 40, 5000000, 7, 8000, 9, 10, 7], 8], [[-99, -88, -78, -66, -55, -44, -33, 10000, 600, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99, -33], 10], [[111, 1111, 22, 222, 333, 555, 666, 888, 999, 1000, 2000, 3030, 4040, 5050, 7000, 8000, 9000], 13], [[-99, -99, -89, -77, -55, 900, -44, -33, -21, -22], 5], [[-99, -99, -89, 7001, -55, -44, 7001, -33, -22, -11], 6], [[20, 100, 301, 40000, 100, 500, 10000, 6000, 70, 40000, 800], 6], [[111, 444, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 6000], 12], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 5999, 41, 8000, 9000, 4040], 13], [[111, 1111, 22, 333, 444, 555, 71, 666, 777, 888, 999, 1000, 2000, 8000, 666, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[1000, 20, 299, 20, 6000, 500, 10000, 6000, 40000], 6], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 10, 10], 9], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000, 8000], 13], [[11, 22, 4, 44, 55, 66, 77, 88, 99], 8], [[-99, -99, -89, -78, -55, 900, -44, -22, -22, -11, -89], 4], [[1000000, 200, 2000, 41, 5000000, 8000, 9, 10], 7], [[20, 200, 3, 40, 5000000, 667, 7, 6, 8000, 10], 8], [[111, 1111, 22, 900, 222, 333, 445, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[1000, 300, 300, 100, 500, 10000, 6001, 70], 5], [[11, 22, 33, 44, 55, 66, 88, 1000, 99], 8], [[100, 200, 300, 500, 600, 700, 800, 900, 1000, 1000], 9], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 4040, 6000, 7000, 8000, 9000], 12], [[111, 1111, 22, 7, 444, 555, 666, 777, 888, 5050, 999, 1000, 2000, 8000, 4040, 5050, 23, 6000, 7000, 8000, 9000], 13], [[111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 66, 4040, 5050, 6000, 7000, 8000, 9000], 11], [[1000, 20, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000], 5], [[111, 1111, 22, 222, 333, 444, 555, 666, 88, 777, 888, 999, 2000, 3030, 5050, 6000, 8000, 9000], 12], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 66, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[200, 3, 40, 60, 999, 7, 8000, 9, 10, 7, 7], 9], [[100, 200, 300, 500, 600, 700, 799, 800, 900, 1000], 4], [[111, 1111, 22, 223, 333, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 12], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 5050, 6000, 7000, 8000, 9000, 8000], 14], [[1000000, 200, 90, 40, 5000000, 60, 7, 8000, 10, 10], 7], [[1000000, 20, 5000000, 40000, 100, 500, 9999, 6000, 70, 801], 2], [[111, 1111, 6999, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 1999, 4040, 5050, 6000, 7000, 8000, 9000], 9], [[111, 1111, 22, 7, 444, 555, 666, 777, 888, 5050, 999, 1000, 2000, 8000, 4039, 5050, 23, 1000000, 7000, 8000, 9000], 13], [[99, 1000000, 20, 5000000, 40000, 100, 500, 9999, 6000, 70, 801], 2], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 500, 20], 6], [[1000, 20, 300, 20, 6000, 500, 10000, 6000, 70, 40000, 799, 799], 4], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 3030, 4040], 13], [[111, 1111, 22, 222, 77, 444, 111, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 13], [[1000001, 3, 40, 5000000, 1000002, 40, 8000, 9, 10, 8000], 9], [[999, 20, 300, 6000, 500, 10000, 6000, 70, 40000, 799], 7], [[10, 20, 31, 40, 50, 71, 1000000, 80, 90, 100, 110], 6], [[111, 1111, 22, 222, 333, 444, 555, 8999, 666, 777, 888, 999, 1000, 2000, 201, 4040, 5050, 5999, 7000, 8000, 9000], 13], [[111, 1111, 22, 222, 333, 444, 554, 8999, 666, 777, 888, 999, 1000, 2000, 4040, 5050, 6000, 7000, 8000, 9000], 13], [[100, 1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800, 70], 4], [[111, 1111, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, -55, 8000, 4040, 5050, 6000, 7000, 8000, 9000, 7000], 5], [[71, 20, 101, 300, 39999, 100, 500, 10000, 6000, 70, 40000, 800], 5], [[200, 300, 400, 500, 600, 700, 800, 900, 1000, 600, 600], 4], [[1000, 300, 300, 100, 500, 10000, 6000, 70, 300], 4], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000, 10000], 3], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 111], 13], [[111, 1111, 22, 7, 444, 555, 666, 777, 888, 5050, 1000, 2000, 8000, 4039, 5050, 23, 1000000, 7000, 8000, 9000], 13], [[2000, 111, 1111, 22, 222, 0, 555, 666, 888, 999, 1000, 2000, 3030, 5050, 6000, 7001, 8000, 9000, 111], 13], [[111, 1111, 22, 222, 333, 444, 554, 8999, 666, 777, 888, 999, 1000, 2000, 4040, 5050, 6000, 7000, 9000], 13], [[1000001, 200, 3, 40, 5000001, 5000000, 7, 8000, 9], 8], [[80, 8, 200, 3, 40, 5000000, 7, 4999999, 8000, 9, 10, 7], 8], [[111, 1111, 22, 222, 333, 555, 666, 777, 888, 999, 1000, 334, 3030, 4040, 5050, 5999, 41, 8000, 9000, 4040], 13], [[200, 400, 500, 600, 700, 800, 900, 1000, 101, 200], 3], [[111, 1112, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[1000, 555, 14, 101, 300, -89, 100, 500, 10000, 6000, 70, -89, 800], 2], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 10, 10, 60], 6], [[1000, 20, 101, 300, 40000, 100, 10000, 6000, 70, 40000, 800], 5], [[1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800], 4], [[90, 1000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 7000, 800], 5], [[20, 101, 300, 39999, 100, 5, 6000, 40000, 800, 20], 4], [[1000, 20, 101, 300, 9000, 100, 500, 10000, 6000, 70, 40000, 333], 7], [[1000, 8, 20, -66, 40000, 301, 100, 500, 10000, 6000, 70, 10000, 10000], 3], [[1000, 20, 101, 300, 39999, 19, 100, 5, 6000, 40000, 800, 20], 4], [[1000, 20, 101, 300, 40000, 500, 10000, 6000, 70, 40000, 333], 7], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 444, 6999, 8000, 9000, 8000, 444], 11], [[1000000, 200, 3, 40, 5000000, 60, -89, 7, 8000, 10, 10, 1000000, 1000000], 8], [[901, 200, 300, 400, 500, 600, 700, 800, 900, 1000], 3], [[100, 200, 300, 400, 501, 600, 700, 800, 900, 1000, 1000], 4], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 5, 55, 66, 77, 88, 99], 10], [[111, 1111, 6999, 22, 333, 444, 555, 666, 777, 888, 999, 2000, 8000, 1999, 4040, 5050, 6000, 7000, 8000, 9000], 8], [[111, 1111, 22, 55, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000, 1111], 13], [[20, 31, 40, 50, 71, 1000000, 80, 90, 100, 110, 10], 6], [[111, 1111, 0, 222, 333, 300, 444, 666, 776, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 8000], 12], [[3, 200, 3, 40, 5000000, 39, 60, 7, 6, 8000, 9, 10, 7], 4], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 1000, 2000, 3030, 5050, 6000, 444, 7000, 8000, 9000, 111], 13], [[1000, 20, 5000000, 101, 300, 40000, 500, 10000, 6000, 70, 40000, 333], 7], [[5000001, 1000, 20, 5000000, 101, 300, 40000, 500, 10000, 6000, 70, 40000, 333, 20], 6], [[20, 71, 301, 40000, 100, 69, 500, 10000, 6000, 70, 40000, 800, 100], 5], [[111, 1111, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000], 5], [[3, 200, 3, 40, 5000000, 39, 60, 7, 6, 8000, 9, 10, 7], 5], [[3, 200, 3, 40, 5000000, 7, 444, 8000, 9, 7], 8], [[1000000, 111, 200, 3, 40, 60, 7, 8000, 9, 10, 7, 3], 8], [[11, 22, 4, 44, 55, 66, 77, 88, 887, 99], 8], [[1000000, 3, 200, 3, 5000000, 60, 7, 8000, 8, 10, 7, 200], 8], [[1000000, 20, 40000, 100, 500, 9999, 6000, 70, 801], 2], [[1000000, 20, 5000000, 40000, 100, 500, 10000, 6000, 70, 800, 70], 4], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 6999, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 11], [[111, 1111, 22, 333, 555, 666, 777, 888, 999, 1000, 2000, 3030, 8, 5050, 6000, 7000, 8000, 4040], 11], [[99, 1000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 7000, 800, 300], 5], [[111, 1111, 222, 333, 321, 444, 555, 666, 777, 887, 999, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000, 111], 4], [[1000000, 20, 301, 5000000, 40000, 100, 500, 6000, 70, 800, 70], 4], [[1000, 300, 300, 100, 299, 500, 10000, 6000, 70], 4], [[1000000, 200, 3, 40, 5000000, 60, 7, 4999999, 9, 10, 7], 8], [[99, 2, 1000000, 5000000, 40000, 100, 500, 9999, 6000, 70, 801], 2], [[901, 200, 300, 400, 500, 555, 700, 800, 900, 1000], 3], [[1000, 20, 101, 300, 40000, 500, 10000, 6000, 70, 40000, 333, 40000], 7], [[100, 200, 300, 400, 500, 600, 700, 800, 1000, 1000], 9], [[1000000, 20, 300, 40000, 100, 500, 10000, 6000, 300, 70, 800], 4], [[10, 200, 400, 700, 800, 900, 200, 1000], 2], [[100, 200, 400, 500, 599, 600, 700, 800, 900, 1000, 101, 200, 400], 3], [[-99, -99, -89, -77, 900, -44, -33, -21, -22], 5], [[1000000, 200, 12, 3, 40, 5000000, 60, 7, 8000, 8, 7, 10, 7, 3], 9], [[111, 1111, 222, 333, 444, 555, 666, 777, 888, 999, -33, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000], 5], [[10, 200, 300, 400, 700, 800, 900, 1000, 900], 9], [[111, 1111, 33, 22, 222, 333, 444, 555, 666, 777, 888, 999, 2000, 3030, 5050, 6000, 8000, 9000], 12], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, -1, 11, 22, 33, 44, 5, 55, 66, 77, 88, 99], 10], [[1000, 20, 101, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 39999, 800, 101], 5], [[111, 1111, 22, 222, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 9000], 12], [[-99, -99, -89, -78, -55, 900, -44, -22, -22, -11, -89], 5], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, -1, 800, 500, 20], 5], [[202, 1111, 22, 222, 333, 444, 555, 666, 88, 777, 888, 999, 2000, 3030, 5050, 6000, 8000, 9000], 12], [[1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, -55, 8000, 9000, 555], 13], [[1000, 20, 101, 300, 39999, 100, 500, 10000, 6000, 70, 40000, 800], 3], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 110, 3030, 5050, 6000, 8000, 9000, 222], 12], [[3, 201, 3, 40, 5000000, 7, 8000, 9, 11, 7], 8], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000], 13], [[1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800, 9999], 4], [[1000, 20, 300, 20, 6000, 500, 10000, 6000, -22], 6], [[111, 799, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 444, 1000], 9], [[1000000, 200, 90, 40, 5000000, 60, 7, 10, 8000, 10, 10], 7], [[-99, -99, -89, -77, -56, 900, -44, -33, -21, -22, -11], 5], [[1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800, 9999], 5], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, -1, 800, 500, 20, 800], 5], [[111, 1111, 22, 222, 0, 555, 666, 888, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 111], 11], [[1000000, 200, 2000, 41, 5000000, 60, 8000, 4999999, 9, 10], 8], [[1000, 20, 101, 300, 40000, 100, 500, 10000, 6000, 299, 70, 40000, 800], 6], [[201, -88, -78, -66, -55, -44, -33, -22, -11, 0, 11, 22, 34, 44, 55, 66, 77, 88, 99], 9], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, -1, 800, 500, 20], 5], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 10000, 10000, 6000], 3], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 12, 8000, 9000, 8000], 12], [[111, 1111, 22, 7, 444, 555, 80, 777, 888, 5050, 1000, 2000, 8000, 4039, 5050, 23, 1000000, 7000, 8000, 9000], 13], [[1000000, 200, 3, 40, 5000000, 112, 7, 8000, 10, 10], 7], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 40000, 333], 6], [[111, 1111, 22, 333, 444, 555, 666, 888, 999, 1000, 2000, 3030, 5050, 6000, 7000, 8000, 3030, 4040, 3030], 13], [[3, 200, 3, 40, 39, 60, 7, 6, 8000, 9, 10, 7], 5], [[111, 1111, 222, 333, 444, 555, 776, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000, 111, 6000], 4], [[1000, 300, 40000, 100, 13, 500, 10000, 6000, 70, 800], 5], [[10, 901, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 800], 4], [[111, 799, 22, 222, 333, 300, 555, 666, 777, 888, 3030, 999, 1000, 2000, 3030, 5050, 6000, 8000, 9000, 444], 9], [[-99, -88, -78, -66, -55, -44, 9000, -33, -22, -11, 0, 22, 33, 44, 4, 66, 77, 88, 99, 0], 11], [[111, 1111, 4039, 222, 333, 445, 555, 777, 888, 999, 1000, 2000, 8000, 4040, -78, 5050, 6000, 7000, 8000, 9000, 445, 111], 12], [[111, -33, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 110, 3030, 5050, 6000, 8000, 9000, 5050], 13], [[1000000, 200, 3, 40, 5000000, 60, 7, 4999999, 8000, 9, 10, 7, 200], 8], [[111, 1111, 22, 222, 333, 444, 554, 8999, 666, 777, 888, 999, 1000, 2000, 4040, 5050, 6000, 7000, 8999, 9000], 13], [[111, 40001, 22, 222, 333, 444, 554, 8999, 666, 777, 888, 70, 1000, 2000, 4040, 5050, 6000, 7000, 8000, 9000], 13], [[9, 7, 31, 101, 50, 60, 70, 80, 90, 100, 111, 40], 6], [[1000, 20, 300, 40000, 301, 100, 500, 10000, 6000, 70, 800, 500, 20], 7], [[-99, -88, -77, -66, -55, -33, -22, -11, -1, 11, 22, 33, 44, 5, 55, 66, 77, 88, 99], 10], [[100, 200, 300, 500, 600, 700, 999, 799, 800, 900, 1000], 4], [[-99, -89, -77, -55, 900, -44, -22, -11, -77], 7], [[1000000, 20, 301, 5000000, 40000, 100, 500, 6000, 70, 7, 70], 4], [[200, 3, 40, 5000000, 7, 8000, 9, 10, 2, 7], 8], [[10, 20, 31, 40, 50, 60, 70, 1000000, 80, 90, 100, 110, 1000000, 1000000], 6], [[1000, 20, 299, 20, 6000, 39999, 500, 10000, 6000, 40000], 6], [[111, 321, 500, 101, 200, 400, 600, 700], 2], [[299, 1000, 101, 300, 39999, 100, 500, 6000, 40000, 800, 20, 500], 3], [[111, 1111, 22, 222, 0, 555, 666, 888, 1000, 2000, 3030, 5050, 6000, 44, 8000, 9000, 111], 12], [[-99, -44, -89, -77, -55, 900, -44, -33, -22, -11], 6], [[200, 2, 40, 60, 7, 8000, 9, 10, 7], 3], [[1000, 20, 4039, 300, 40000, 100, 500, 10000, 70, 40000, 800, 40000], 5], [[111, 1111, 22, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 8000], 12], [[100, 8999, 200, 300, 400, 501, 600, 700, 800, 900, 1000, 1000], 4], [[111, 222, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000, 9000], 5], [[-33, -99, -99, -89, 7001, -55, -44, -33, -22, -11], 6], [[100, 200, 300, 400, 600, 700, 800, 1000, 1000], 9], [[-99, -89, -77, -55, 900, -44, -33, -22, -11, -77], 5], [[111, 1111, 22, 222, 333, 300, 444, 555, 666, 777, 40, 999, 1000, 2000, 3030, 5050, 12, 8000, 9000, 8000], 12], [[71, 20, 31, 40, 50, 60, 70, 80, 90, 100, 111, 100], 6], [[10, 20, 31, 50, 71, 1000000, 80, 90, 100, 110], 7], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 200, 100], 3], [[1000000, 200, 2000, 40, 5000000, 60, 8000, 9, 10, 9], 8], [[200, 12, 40, 60, 999, 7, 8000, 9, 7], 7], [[10, 200, 300, 400, 700, 800, 900, 1000, 900], 8], [[111, 1111, 22, 222, 333, 300, 6000, 444, 555, 666, 777, 39999, 888, 999, 1000, 2000, 110, 3030, 5050, 6000, 8000, 9000], 12], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000, 1000], 4], [[111, 1111, 22, 222, 333, 444, 555, 8999, 666, 777, 888, 999, 4039, 1000, 2000, 202, 4040, 5050, 6000, 7000, 8000, 9000], 13], [[1000, 20, 101, 300, 40000, 500, 10000, 6000, 70, 40000, 40000, 300], 7], [[111, 1111, 222, 333, 444, 555, 776, 666, 777, 888, 999, 1000, 2000, 8000, 4040, 6000, 7000, 8000, 9000, 7000, 111, 6000], 7], [[-99, -99, -89, -77, -78, -55, 900, -44, -33, -21, -22], 5], [[299, 1000, 999, 101, 300, 39999, 100, 500, 6000, 20, 500], 4], [[1000001, 200, 3, 40, 5000001, -78, 5000000, 7, 8000, 9, 7], 8], [[9, 7, 6000, 31, 40, 50, 60, 70, 80, 90, 100, 111, 40], 7], [[11, 22, 33, 44, 55, 66, 88, 1000, 99], 9], [[-99, -99, -90, 7001, -55, -44, -33, -22, -11], 6], [[111, 1111, 22, 112, 222, 333, 300, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 5050, 999, 6000, 8000, 9000, 2000], 12], [[100, 200, 300, 500, 600, 700, 799, 800, 899, 1000], 4], [[111, 1111, 22, 222, 333, 445, 555, 888, 10000, 23, 999, 1000, 2000, 8000, 4040, -78, 5050, 7000, 8000, 9000, 8000], 13], [[1000, 20, 300, 40000, 100, 500, 100, 6000, 1000001, 70, 800], 6], [[445, 1000, 300, 40000, 9999, 100, 500, 10000, 6000, 70, 800, 70], 4], [[111, 1111, 22, 333, 444, 555, 666, 777, 888, 10000, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 4040, 22], 11], [[-99, -77, -55, 112, 900, -44, -33, -22], 6], [[599, 1000, 20, 101, 300, 40000, 100, 500, 10000, 501, 6000, 70, 40000, 333], 6], [[100, 2000, 30000, 400000], 3], [[1, 22, 333, 4444, 55555], 4], [[1, 2, 3, 4, 5], 5], [[1234, 5678, 9012, 3456], 3], [[99], 1], [[1, 2, 3, 4, 5, 6, 7, 8, 9], 5], [[12345, 6789, 101112, 131415, 161718], 3], [[-1, -22, -333, -4444], 2], [[-1, 2, -3, 4, -5], 3], [[55], 1], [[111, 321, 500, 100, 200, 300, 400, 600], 3], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110], 6], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 100], 6], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 9], [[11, 22, 33, 44, 55, 66, 77, 88, 99], 4], [[10, 20, 30, 40, 60, 70, 80, 90, 100, 110, 90], 5], [[20, 300, 40000, 100, -66, 10000, 6000, 70, 800], 4], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 8], [[-99, -88, -77, -66, -55, -44, -33, -22, -11], 6], [[100, 200, 300, 400, 5000000, 700, 800, 900, 1000], 5], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 20, 66, 77, 88, 99], 10], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 80, 800], 5], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 80, 800, 6000], 5], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110], 5], [[111, 1111, 22, 222, 3031, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000], 12], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99], 9], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, -44], 6], [[20, 300, 40000, 5999, 100, 500, 10000, 6000, 80, 800, 6000], 5], [[112, 321, 500, 100, 200, 300, 400], 3], [[111, 1111, 22, 222, 3031, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 2000], 12], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 80, 800, 6000, 10000], 5], [[100, 200, 300, 400, 500, 600, 700, 199, 800, 900, 90], 3], [[-99, -99, -88, -77, -66, -55, -44, -33, -22, -11], 5], [[1000, 20, 300, 40000, 100, 500, 10000, 100, 6000, 70, 800], 5], [[200, 3, 40, 5000000, 60, 7, 8000, 9, 10], 8], [[-99, -88, -77, -66, -55, -44, -33, 44, -11, 0, 11, 22, 33, 44, 55, 77, 88, 99], 10], [[10, 20, 30, 40, 50, 60, 70, 90, 100, 6000, 110], 6], [[-99, -88, 30, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 20, 66, 77, 88, 99], 9], [[111, 321, 500, 100, 200, 300, 400, 600, 100], 3], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500, 900], 7], [[111, 321, 500, 100, 300, 400, 600, 700], 3], [[10, 20, 30, 50, 60, 70, 80, 100, 110, 100], 6], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99], 9], [[1111, 22, 222, 3031, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 999], 12], [[111, 321, 500, 100, 200, 300, 600, 700], 3], [[100, 200, 300, 400, 500, -88, 700, 800, 1000], 3], [[-99, -88, -77, -66, -55, -44, -33, -22], 5], [[111, 321, 500, 100, 200, 300, 600, 222, 700], 3], [[111, 321, 500, 100, 200, 300, 400, 600, 700, 400], 3], [[-99, -88, -77, -66, -55, -44, -33, -21, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99], 10], [[112, 321, 500, 100, 200, 300, 400, 321], 3], [[100, 200, 300, 400, 500, 600, 700, 800, 70, 1000, 500], 9], [[112, 321, 500, 100, 200, 300, 400], 2], [[-99, -88, 30, -77, -66, -55, -33, -22, -11, 0, 11, 22, 33, 44, 55, 20, 66, 88, 99], 9], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000], 3], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000], 2], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 101, 1000, 500], 9], [[1111, 22, 222, 3031, 333, 444, 555, 666, 778, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 999], 12], [[-99, -77, -66, -55, -44, -33, -22, -22], 4], [[-99, -88, -77, -66, -55, -44, -33, -22, -11], 7], [[111, 500, 100, 200, 300, 600, 700, 200], 3], [[111, 320, 500, 100, 200, 300, 600, 222, 700], 4], [[100, 200, 300, 400, 600, 700, 800, 900, 1000, 500], 8], [[100, 200, 300, 400, 500, 600, 700, 500, 800, 900, 1000, 1000, 900], 3], [[101, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 9], [[1000, 20, 300, 40000, 21, 100, 500, 10000, 100, 6000, 70, 800], 5], [[111, 321, 500, 100, 200, 300, 400, 600, 700], 4], [[-99, -88, -77, -66, -55, -44, -33, 5050, -11, -44, -44], 6], [[1000, 20, 300, 40000, 666, 100, 500, 10000, 6000, 80, 800], 5], [[100, 200, 300, 400, 600, 700, 800, 1000, 500], 8], [[100, 200, 300, 400, 500, 600, 700, 199, 800, 900, 90], 2], [[111, 1111, 22, 222, 3031, 333, 444, 555, 600, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 2000], 12], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000, 300], 3], [[999, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 8], [[100, 200, 300, 400, 10000, 600, 700, 800, 900, 1000, 1000], 3], [[111, 321, 500, 100, 200, 300, 600, 222, 700], 2], [[321, 500, 100, 200, 300, 600, 700], 3], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000, 500], 2], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 101, 1000, 100, 500], 9], [[100, 200, 300, 400, 500, 600, 700, 800, 70, 5, 101, 1000, 500], 9], [[10, 20, 40, 50, 60, 70, 80, 90, 100, 110], 6], [[100, 200, 300, 400, 600, 700, 800, 1000, 1111], 8], [[100, 200, 300, 400, 500, 600, 700, 800, 1000], 3], [[200, 2, 40, 5000000, 60, 7, 8000, 9, 10], 8], [[111, 1111, 22, 222, 3031, 444, 555, 600, 777, 888, 999, 1000, 2000, 3030, 4040, 8000, 5050, 6000, 7000, 8000, 9000, 2000], 12], [[-99, -88, -77, -66, -55, -44, -33, -22], 7], [[112, 321, 500, 100, 199, 300, 400], 3], [[111, 321, 500, 100, 200, 300, 600, 700], 7], [[999, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 9], [[321, 500, 100, 200, 300, 600, 700], 2], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 20, 66, 77, 88, 99], 9], [[321, 77, 100, 300, 66, 600, 700], 2], [[100, 200, 300, 400, 500, 600, 700, 800, 70, 1000, 500], 10], [[112, 321, 500, 100, 200, 300, 400, 321, 321, 321], 4], [[111, 320, 500, 100, 200, 300, 600, 222, 700, 320], 4], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000], 2], [[321, 500, 100, 200, 300, 600, 700, 100], 2], [[20, 300, 40000, 5999, 100, 500, 10000, 80, 800, 6000], 5], [[1000, 20, 300, 40000, 666, 100, 500, 10000, 6000, 80, 800], 8], [[100, 200, 300, 400, 500, 600, 700, 800, 70, 1000, 500, 70], 9], [[1000000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 800], 3], [[1000, 20, 300, 40000, 299, 666, 100, 500, 10000, 6000, 80, 800, 800], 5], [[10, 20, 30, 40, 60, 70, 80, 90, 100, 110], 6], [[-99, -88, -77, -66, -55, -44, -33, 5050, -11, -44, -44, 5050], 6], [[111, 321, 500, 100, 200, 300, 1000, 400, 600, 700], 4], [[-99, -88, -77, -66, -55, -44, -33, -22], 6], [[200, 300, 400, 5000000, 700, 800, 900, 1000], 5], [[200, 3, 40, 5000000, 60, 7, 8000, 9, 10], 9], [[-99, -88, -77, -66, -54, -44, -33, -22], 7], [[112, 321, 500, 100, 200, 300, 400], 4], [[200, 300, 400, 500, 600, 700, 800, 900, 101, 1000, 100, 500, 300], 8], [[-99, -88, -77, -66, -55, -44, -33, -22, -44], 6], [[2000, -88, -77, -66, -55, -44, -33, -22, -11], 7], [[100, 200, 300, 400, 500, 600, 700, 500, 800, 900, 1000, 1000, 900], 11], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 3030, 11, 22, 33, 44, 55, 66, 77, 88, 99], 9], [[111, 321, 500, 100, 300, 600, 222, 600], 3], [[400, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 8], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 200], 2], [[999, 200, 300, 400, 800, 500, 600, 700, 800, 900, 1000, 500], 9], [[-99, -88, -77, -66, -55, -44, -33, -11, -88], 5], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 80, 800, 6000, 10000], 3], [[10, 20, 30, 40, 50, 333, 70, 80, 90, 100, 110], 7], [[111, 320, 500, 100, 200, 300, 600, 222, 700], 3], [[100, 200, 300, 400, 700, 800, 900, 1000, 200], 5], [[111, 100, 500, 100, 300, 600, 222, 600], 3], [[321, 77, 100, 300, 66, 321, 600, 700], 2], [[111, 321, 500, 100, 200, 300, 1000, 400, 600, 700], 5], [[100, 300, 400, 700, 800, 900, 1000, 200], 5], [[10, 20, 30, 49, 60, 70, 80, 100, 110, 100], 6], [[-99, -88, -77, -66, -55, -44, -33, 5050, -11, -44, -44], 3], [[1000, 20, 300, 40000, 100, 500, 10000, 80, 800, 6000, 10000], 5], [[1000, 20, 300, 40000, 10000, 100, 500, 10000, 6000, 80, 800, 6000], 5], [[111, 500, 100, 200, 300, 600, 222, 700], 3], [[1000, 20, 300, 40000, 100, 500, 10000, 11, 80, 800, 6000, 10000], 3], [[100, 200, 400, 500, 600, 700, 199, 800, 900, 90], 3], [[800, 500, 100, 200, 300, 600, 700], 2], [[100, 6, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000, 300], 3], [[-88, -77, -66, -55, -44, -33, -22, -11], 6], [[1000, 20, 300, 40000, 100, 500, 10000, 44, 6000, 80, 800], 5], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 80, 800, 101, 6000, 10000], 5], [[-99, -88, -77, -66, -55, -44, -33, 5050, -12, -44, -44, 5050], 5], [[1111, 22, 222, 3031, 333, 444, 555, 666, 778, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 999, 5050], 12], [[111, 1111, 22, 222, 3031, 444, 555, 600, 776, 775, 888, 999, 1000, 2000, 3030, 4040, 321, 8000, 5050, 6000, 7000, 8000, 9000, 2000], 22], [[20, 300, 40000, 5999, 100, 500, 10000, 6000, 80, 800, 6000], 9], [[200, 300, 400, 500, 600, 700, 800, 900, 101, 1000, 100, 500, 111], 8], [[100, 900, 299, 300, 400, 500, 600, 700, 800, 900, 1000, 1000], 2], [[100, 200, 300, 400, 500, 600, 320, 800, 70, 1000, 500], 9], [[111, 500, 100, 200, 300, 600, 222, 112, 700], 3], [[-99, -88, -77, -66, -55, -44, -33, -11, -44], 6], [[100, 200, 300, -88, 400, 500, 600, 700, 800, 900, 1000, 1000], 4], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99], 10], [[-88, 2000, -77, -66, -55, -44, -22, -11], 7], [[200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 9], [[100, 200, 300, 400, 500, 600, 700, 500, 800, 900, 1000, 1000, 900, 800], 3], [[-99, -88, -77, -66, -55, -44, -33, -21, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99], 11], [[-99, -88, -77, -66, -88, -55, -44, -33, -22, -11, -44], 6], [[100, 200, 300, 400, 600, 700, 800, 900, 1000, 500, 700], 8], [[112, 321, 500, 100, 199, 299, 300, 400], 3], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99, -22], 12], [[999, 200, 300, 400, 500, 600, 899, 700, 800, 900, 1000, 500], 9], [[111, 321, 500, 100, 200, 300, 400, 600], 2], [[111, 321, 500, 100, 200, 300, 400, 600, 700, 400, 111], 3], [[1000, 20, 300, 40000, 111, 500, 10000, 6000, 80, 800, 6000], 5], [[200, 300, 400, 7000, 600, 700, 800, 900, 101, 1000, 100, 500, 300], 8], [[111, 500, 100, 200, 300, 600, 222, 700], 4], [[200, 300, 400, 500, 600, 700, 800, 900, 101, 1000, 100, 500, 111], 7], [[500, 100, 200, 300, 600, 222, 700], 3], [[3, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110], 7], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 110, 100], 6], [[321, 100, 200, 300, 600, 700, 100], 2], [[100, 200, 300, 400, 500, 600, 320, 800, 70, 1000, 500, 70], 9], [[20, 300, 40000, 5999, 100, 500, 10000, 6000, 80, 800, 6000], 4], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 80, 800, 101, 6000, 10000], 3], [[1000, 20, 300, 40000, 21, 888, 500, 10000, 100, 6000, 70, 800], 5], [[111, 1111, 22, 222, 3031, 444, 555, 600, 776, 775, 888, 999, 1000, 2000, 3030, 4040, 321, 8000, 5050, 6000, 7000, 8000, 9000, 2000], 23], [[-99, -88, -77, -66, -55, -44, -33, 5050, -11, -44, -44, 5050, -99], 6], [[500, 100, 200, 222, 700, 600], 2], [[200, 3, 40, 5000000, 60, 7, 8000, 10, 10], 8], [[200, 300, 400, 5000000, 700, 50, 800, 900, 1000], 5], [[100, 200, 300, -88, 400, 500, 600, 66, 700, 800, 900, 1000, 1000], 4], [[100, 200, 300, -88, 400, 500, 600, 700, 800, 801, 900, 1000, 1000], 4], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 20, 66, 77, 88, 99, 11], 10], [[999, 200, 1001, 300, 400, 800, 500, 600, 700, 800, 900, 1000, 500], 7], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 7], [[100, 200, 300, 400, 500, 600, 700, 199, 800, 900, 90, 300], 3], [[100, 200, 300, 400, 500, 600, 555, 800, 70, 1000, 500, 320], 9], [[111, -66, 500, 100, 200, 300, 600, 222, 700, 320], 4], [[1000000, 200, 3, 40, 5000000, 60, 7, 8000, 9, 10], 7], [[111, 321, 500, 100, 200, 300, 600, 222, 700, 300], 3], [[111, 500, 100, 200, 300, 600, 222, 700, 222], 3], [[-99, -88, -77, -55, -44, -33, 5050, -12, -44, -44, 5050], 5], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000, 500], 3], [[-99, -88, -77, -66, 67, -55, -44, -33, -22, -11, 3030, 11, 22, 33, 44, 55, 66, 77, 88, 99], 9], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 80, 800, 101, 6000, 10000], 4], [[-99, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99], 10], [[111, 500, 100, 200, 300, 600, 700, 200, 600], 2], [[10, 20, 40, 50, 60, 70, 80, 90, 100, 110, 110], 6], [[200, 3, 40, 5000000, 8, 60, 7, 8000, 9, 10], 9], [[200, 300, 400, 5000000, 700, 800, 900, 5000000], 5], [[10, 20, 30, 40, 50, 60, 70, 90, 100, 110], 7], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 776, 1000, 500], 2], [[111, 500, 100, 200, 300, 600, 222, 112, 700, 200], 3], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 66, 77, 88, 99, -22, 88], 12], [[112, 321, 500, 100, 200, 300, 400, 321, 321, 321], 3], [[999, 200, 300, 400, 500, 600, 1000, 899, 700, 800, 900, 1000, 500], 9], [[111, 1111, 22, 222, 3031, 444, 555, 600, 77, 775, 888, 999, 1000, 2000, 3030, 4040, 321, 8000, 5050, 6000, 7000, 8000, 9000, 2000, 999], 23], [[-88, -77, -66, -55, -44, -33, -22, -11, -77, -11], 6], [[100, 499, 300, 400, 500, 600, 700, 800, 900, 101, 1000, 100, 500], 9], [[500, 100, 200, 300, 600, 222, 700], 5], [[111, 3, 321, 500, 21, 300, 600, 222, 600], 3], [[111, 320, 500, 100, 200, 300, 600, 222, 112, 700], 3], [[111, 500, 100, 200, 300, 600, 700, 200, 200], 3], [[999, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500, 1000], 8], [[111, 1111, 22, 222, 3031, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6001, 7000, 8000, 9000], 12], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99, -99], 10], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 110, 100], 7], [[321, 200, 300, 600, 700, 100], 2], [[-99, -88, -77, 67, -55, -44, -33, -22, -11, 3030, 11, 22, 33, 44, 55, 66, 77, 88, 99], 10], [[111, 100, 500, 100, 300, 222, 600], 3], [[1111, 22, 222, 3031, 333, 444, 555, 666, 778, 888, 999, 1000, 2001, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 999], 12], [[200, 300, 400, 5000000, 700, 800, 900, 5000000], 4], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 6], [[111, 500, 100, 200, 300, 600, 222, 700], 5], [[999, 200, 1001, 300, 400, 800, 500, 600, 700, 800, 900, 500], 7], [[-99, -88, -77, -66, -55, -33, -22, -11, 3030, 11, 22, 33, 44, 55, 66, 77, 88, 99], 9], [[100, 200, 300, 400, 500, 600, 700, 500, 800, 900, 1000, 1000, 900, 800, 100], 3], [[100, 200, 300, 400, 600, 700, 800, 7000, 500], 8], [[111, 1111, 22, 222, 3031, 23, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6001, 7000, 8000, 9000], 12], [[-99, -88, -77, 67, -55, -44, -33, -22, -11, 3030, -88, 22, 33, 44, 55, 66, 77, 88, 99], 10], [[3, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 80], 7], [[200, 3, 40, 5000000, 8, 60, 7, 8000, 9, 10, 60], 9], [[1000, -89, 300, 40000, 666, 100, 500, 10000, 6000, 80, 800, 6000], 9], [[111, 1111, 22, 222, 3031, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 334, 9000, 2000, 9000], 12], [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 100], 7], [[200, 300, 400, 500, 600, 700, 800, 900, 101, 1000, 100, 500, 6001], 7], [[-99, -88, -77, -66, -55, -44, -33, -100, -22], 7], [[1000, 20, 300, 40000, 100, 500, 10000, 45, 6000, 80, 800], 5], [[100, 200, 300, 400, 10000, 600, 700, 800, 900, 1000, 1000], 8], [[111, -54, 500, 100, 200, 300, 600, 222, 700, 222], 3], [[999, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500, 1000, 1000], 8], [[-99, -99, -88, -66, -55, -44, -33, -22, -11], 5], [[100, 200, 300, 400, 500, 600, 700, 199, 800, 900, 90, 600], 2], [[111, 321, 500, 100, 200, 300, 400, 444, 600, 700, 400], 3], [[111, 321, 500, 101, 200, 300, 400, 600, 700, 200], 3], [[100, 200, 300, 100, 400, 500, 600, 700, 199, 800, 900, 90], 3], [[111, 321, 500, 100, 200, 300, 400, 600, 700, 400, 111], 4], [[-99, -88, -77, -87, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99], 10], [[-99, -88, -77, -66, -88, -55, -44, -33, -22, 777, -44], 5], [[100, 200, 300, 100, 400, 500, 600, 700, 199, 800, 900, 90, 100], 3], [[-99, -88, -77, -66, -88, -55, -44, -33, -22, 777, -44, -44], 5], [[111, 320, 500, 100, 200, 300, 600, 222, 700, 320], 5], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 88, 99], 9], [[100, 200, 499, 300, 400, 500, 600, 700, 800, 70, 1000, 500, 499], 9], [[111, 3, 321, 500, 21, 300, 600, 222, 600, 222], 3], [[200, 300, 400, 600, 700, 800, 900, 1000, 500], 8], [[1000, 20, 300, 40000, 100, 500, 801, 10000, 100, 6000, 70, 800], 5], [[100, 200, 300, 400, 500, 600, 700, 199, 800, 900, 5999, 90, 300], 2], [[111, 1111, 22, 222, 3031, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 22], 12], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500, 1000], 6], [[100, 499, 300, 400, 500, 600, 700, 66, 900, 101, 1000, 100, 500], 9], [[10, 20, 30, 40, 60, 80, 90, 100, 110], 6], [[999, 200, 300, 400, 500, 600, 700, 900, 1000, 500, 1000], 8], [[100, 200, 300, 111, 600, 700, 800, 900, 500, 500], 9], [[1000, 20, 300, 40000, -11, 100, 500, 10000, 6000, 80, 800, 6000], 5], [[100, 200, 300, 100, 400, 500, 600, 700, 199, 800, 900, 90, 100], 2], [[100, 200, 300, 400, 500, 600, 700, 800, 1000, 500], 3], [[111, 321, 500, 200, 300, 400, 600, 700, 9000, 111], 3], [[112, -88, -77, -66, 67, -55, -44, -33, -22, -11, 3030, 11, 22, 33, 44, 55, 66, 77, 88, 99], 8], [[111, 321, 500, 100, 200, 300, 400, 600, 700, 400, 100], 2], [[1111, 22, 222, 889, 3031, 333, 444, 555, 666, 778, 888, 999, 1000, 2000, 400, 3030, 4040, 5050, 6000, 7000, 8000, 9000, 999, 3031], 12], [[1000, 20, 300, 40000, 100, 500, 10000, 45, 6000, 80, 800], 6], [[100, 200, 300, 400, 600, 700, 800, 1000], 7], [[-99, -88, 11, -77, -66, -55, -44, -33, -22, -11, 3030, 11, 22, 33, 44, 55, 66, 77, 88, 99], 9], [[112, 321, 500, 100, 200, 300, 400, 321, 321], 3], [[200, 300, 400, 5000000, 700, 50, 800, 900, 301, 1000], 5], [[200, 3, 40, 5000000, 60, 7, 8000, 10, 10, 40], 9], [[1000, 300, 40000, 666, 100, 500, 10000, 6000, 80, 800], 6], [[111, 320, 500, 100, 200, 300, 600, 222, 700, 320, 100, 600], 4], [[100, 300, 400, 700, 800, 900, 1000, 200], 6], [[200, 300, 5000000, 700, 50, 800, 900, 1000], 5], [[1000000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 800], 2], [[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1000], 11], [[1000, 20, 300, 7000, 40000, 21, 888, 500, 10000, 100, 6000, 70, 800], 5], [[999, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 10], [[111, 321, 500, 200, 300, 400, 778, 600, 700, 9000, 111], 3], [[111, -54, -21, 500, 100, 200, 300, 600, 222, 700, -89], 3], [[101, 200, 2000, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 9], [[1000, 20, 300, -88, 40000, 100, 500, 10000, 6000, 80, 800], 5], [[1000, 20, 300, 40000, 100, 500, 10000, 100, 6000, 70, 800, 300], 9], [[1000, 20, 300, 40000, 10000, 100, 500, 10000, 6000, 80, 800, 6000], 4], [[-99, -77, -66, -55, -44, -33, -22, -22], 3], [[20, 300, 40000, 5999, 20, 100, 500, 10000, 6000, 80, 800, 6000], 4], [[11, 22, 33, 44, 55, 66, 77, 88, 99, 99], 4], [[1000, 20, 300, 40000, 100, 500, 10000, 6000, 80, 800, 101, 6000, 10000, 10000], 5], [[100, 200, 300, 23, 500, 600, 700, 199, 800, 900, 90, 300], 3], [[111, 1111, 22, 222, 3031, 333, 444, 555, 666, 777, 888, 999, 1000, 3030, 4040, 5050, 6000, 7000, 8000, 334, 9000, 2000, 9000], 12], [[-99, -88, -77, 30, -55, -44, -33, -22], 5], [[111, 500, 100, 300, 600, 222, 600], 3], [[300, 100, 200, 300, 400, 500, 900, 600, 700, 800, 900, 1000, 1000, 500], 4], [[-99, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99, -22], 10], [[999, 200, 300, 400, 500, 899, 700, 800, 900, 1000, 500], 9], [[-88, -77, -66, 45, -55, -44, -33, -22, 9000, -55], 6], [[20, 30, 40, 50, 60, 70, 80, 90, 100, 110], 6], [[100, 200, 300, 400, 500, 600, 401, 700, 800, 900, 1000, 1000], 2], [[100, 200, 300, 400, 500, 600, 401, 700, 800, 900, 1000, 1000], 3], [[11, 22, 33, 44, 55, 66, 77, 88, 5050, 99, 99], 4], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99], 3], [[112, 321, 500, 100, 200, 300, 400, 321, 321, 321], 5], [[-99, -88, -77, -66, -55, -44, -33, 5050, -11, -44, -44, 5050, -99], 7], [[999, 200, 300, 400, 500, 600, 199, 700, 800, 900, 1000, 500, 1000, 1000], 8], [[-88, 2000, -77, -66, -55, -44, -22, -11], 8], [[200, 300, 400, 500, 700, 800, 900, 101, 1000, 100, 500, 111], 7], [[100, 200, 300, 400, 500, 600, 700, 800, 70, 5, 101, 1000, 500], 8], [[400, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500, 800], 8], [[999, 200, 300, 400, 800, 500, 600, 700, 800, 900, 1000, 500], 11], [[111, 320, 500, 100, 200, 300, 222, 600, 222, 112, 700], 3], [[100, 200, 300, 400, 500, 600, 700, 199, 800, 900, 90, 300], 2], [[100, 499, 300, 400, 500, 600, 700, 800, 101, 1000, 500], 9], [[999, 200, 300, 400, 500, 600, 700, 800, 900, 1000], 8], [[100, 200, 300, 400, 600, 700, 800, 7000, 500, 800], 8], [[1000, 20, 300, 7000, 40000, 21, 888, 500, 10000, 100, 6000, 70, 800], 9], [[200, 400, 5000000, 700, 301, 800, 900, 301, 1000], 5], [[100, 200, 300, 400, 500, 600, 699, 800, 900, 1000, 500], 7], [[1000, 20, 300, 40000, -11, 100, 500, 10000, 6000, 800, 6000], 5], [[111, 320, 500, 100, 200, 300, 600, 222, 4, 320, 100, 600], 4], [[111, -54, 500, 100, 200, 300, 600, 222, 700, -89], 3], [[100, 200, 300, 400, 600, 700, 800, 7000, 500, 800], 7], [[111, 1111, 22, 222, 3031, 333, 444, 555, 666, 777, 888, 999, 1000, 2000, 3030, 4040, 5050, 3030, 6001, 7000, 8000, 9000], 12], [[100, 70, 300, 400, 500, 600, 700, 800, 900, 1000, 500], 6], [[10, 20, 40, 50, 60, 70, 80, 90, 100, 110, 100], 6], [[100, 200, 300, 400, 500, 600, 700, 199, 800, 900, 90], 4], [[200, 300, 5000000, 700, 800, 900, 1001, 1000], 5], [[20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 50], 6], [[-99, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99, -88], 10], [[-99, -88, -77, -66, -88, -55, -44, -33, -22, 777, -44], 4], [[100, 200, 300, 400, 500, 600, 320, 800, 70, 1000, 500, 70], 8], [[-99, -77, -66, -55, -33, -22, -11, 0, 11, 22, 33, 55, 66, 77, 88, 99, -88], 11], [[1111, 22, 222, 889, 3031, 333, 444, 555, 666, 778, 888, 999, 1000, 2000, 400, 3031, 4040, 5050, 6000, 7000, 8000, 9000, 999, 3031], 12], [[-99, -88, -66, -54, -44, -33, -22], 7], [[-99, -88, 11, -77, -66, -55, -44, -33, -22, -11, 3030, 11, 22, 33, 44, 55, 66, 77, 88, 99], 10], [[321, 200, 300, 600, 1000000, 700, 100], 2], [[999, 200, 300, -22, 500, 600, 700, 800, 900, 1000], 8], [[100, 200, 300, -88, 1001, 500, 600, 700, 800, 801, 900, 1000, 1000, 1000], 4], [[-88, -77, -66, 45, -54, -44, -33, -22, 9000, -55], 6], [[111, 321, 500, 200, 400, 600, 700, 9000, 111], 3], [[10, 20, 30, -89, 40, 60, 80, 90, 100, 110], 6], [[111, 1111, 22, 222, 3031, 444, 555, 600, 777, 888, 999, 1000, 2000, 3030, 4040, 0, 5050, 6000, 7000, 8000, 9000, 2000], 12], [[200, 300, 400, 5000000, 700, 800, 900, 1000], 4], [[20, 300, 40000, 5999, 100, 501, 10000, 5999, 6000, 80, 800, 6000], 5], [[111, 1111, 22, 222, 3031, 444, 555, 600, 777, 888, 999, 1000, 2000, 3030, 4040, 0, 5050, 6000, 7000, 8000, 9000, 2000, 1000], 13], [[112, 555, 500, 100, 201, 300, 400], 2], [[999, 200, 1001, 300, 400, 800, -88, 600, 700, 800, 900, 1000, 500], 7], [[111, 500, 200, 300, 600, 222, 700, 222], 3], [[11, 22, 33, 44, 55, 66, 77, 88, 3030, 5050, 99, 99], 4], [[-99, -88, -77, -66, -55, -44, -33, -11, -89], 4], [[1000, 300, 40000, 100, 500, 10000, 11, 80, 800, 6000, 10000], 3], [[-99, -88, -77, -66, -55, -44, -55, -33, 5050, -11, -44, -44], 3], [[100, 200, 300, 400, 500, 600, 700, 800, 70, -21, 500], 11], [[100, 499, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 500, 900], 7], [[800, 500, 100, 200, 300, 600, 700, 100], 2], [[1000, 20, 300, 40000, 100, 500, 10000, 100, 6000, 99, 70, 800], 5], [[1000, 20, 300, 40000, 100, 10000, 6000, 80, 800, 6000, 10000], 3], [[100, 200, 300, 400, 500, 600, 700, 199, 800, 900, 90], 9], [[-99, -88, -77, -66, -55, -44, -33, -11], 6], [[100, 499, 300, 400, 500, 600, 700, 800, 101, 1000, 500, 100, 100], 8], [[111, 500, 100, 200, 100, 300, 600, 222, 112, 700, 200], 3], [[100, 200, 300, 100, 400, 500, 599, 700, 199, 800, 900, 90, 100], 3], [[100, 200, 300, 400, 599, 500, 600, 320, 800, 70, 1000, 500], 9], [[111, 321, 500, 100, 200, 300, 400, 600, 700, 100], 5], [[112, 321, 500, 100, 200, 300, 400, 321, 321, 321, 112], 4], [[200, 300, 5000000, 700, 50, 800, 900, 1000, 900], 5], [[-99, -88, -77, -66, -55, -44, -33, -22, -22], 6], [[111, 321, 500, 200, 300, 400, 600, 700, 9000, 111], 4], [[100, 200, 300, 400, 500, 600, 800, 70, 1000, 500], 9], [[1000, 20, 300, 40000, 666, 100, 500, 10000, 6000, 80, 800], 4], [[321, 77, 100, 300, 66, 600, 700], 1], [[20, 70, 30, 40, 50, 60, 70, 80, 90, 100, 110, 50], 6], [[100, 200, 300, 600, 700, 800, 1000], 3], [[500, 100, 222, 700, 600], 2], [[111, 321, 500, 100, 200, 300, 600, 222, 700, 321], 3], [[1000, 20, 300, 40000, -11, 100, 500, 10000, 6000, 800, 6000], 4], [[100, 200, 300, -88, 1001, 500, 600, 700, 800, 801, 900, 1000, 1000, 1000, 1000], 4], [[1000, 20, 300, 40000, 100, 500, 6000, 80, 800, 6000, 10000, 10000], 3], [[-99, -88, -77, -66, -55, -33, -22, -11, 3030, 11, 22, 33, 44, 55, 66, 77, 88, 99, 66], 9], [[-99, -88, -77, 67, -55, -44, -33, -22, -11, 3030, -88, 78, 22, 33, 44, 55, 66, 77, 88, 99], 10], [[-99, -88, -77, -66, -55, -44, -33, 888, 44, -11, 0, 11, 22, 33, -12, 44, 55, 77, 88, 99], 11], [[799, 1000000, 20, 300, 40000, 100, 500, 10000, 6000, 70, 800], 3], [[-99, -88, -77, -66, -55, -44, -33, -22, -11, 0, 11, 22, 33, 44, 55, 20, 66, 77, 88, 99, -44], 10], [[100, 200, 300, 400, 500, 600, -54, 700, 800, 1000], 3], [[111, 320, 500, 100, 200, 300, 222, 600, 222, 112, 319, 700], 3]]
claude-3-haiku-20240307. fail_base: True, fail_plus: True
Here's the solution wrapped in a Python markdown block:
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
total = 0
for i in range(k):
if 0 <= arr[i] < 100:
total += arr[i]
return total
code-millenials-34b. fail_base: True, fail_plus: True
def add_elements(arr, k):
sum = 0
for i in range(k):
if arr[i] >= 10 and arr[i] <= 99:
sum += arr[i]
return sum
speechless-coding-7b-16k-tora. fail_base: True, fail_plus: True
def add_elements(arr, k):
return sum(arr[:k])
claude-3-opus-20240229. fail_base: True, fail_plus: True
Here's the solution to the problem, wrapped in a markdown block:
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
sum_of_elements = 0
for i in range(k):
if arr[i] >= 10 and arr[i] <= 99:
sum_of_elements += arr[i]
return sum_of_elements
mixtral-8x7b-instruct. fail_base: False, fail_plus: True
def add_elements(arr, k):
return sum(x for x in arr[:k] if x < 100)
mixtral-8x22b-instruct-v0.1. fail_base: True, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
# Initialize the sum to 0
sum_of_elements = 0
# Iterate over the first k elements of arr
for i in range(k):
# If the current element has at most two digits, add it to the sum
if 10 <= arr[i] <= 99:
sum_of_elements += arr[i]
# Return the sum of the elements
return sum_of_elements
# Test the function with the given example
arr = [111, 21, 3, 4000, 5, 6, 7, 8, 9]
k = 4
code-llama-multi-34b. fail_base: True, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
# M1. 暴力解法
# 找出所有的两位数,然后求和
# 时间复杂度:O(n)
# 空间复杂度:O(1)
# 执行用时: 40 ms , 在所有 Python3 提交中击败了 99.99% 的用户
# 内存消耗:13.9 MB , 在所有 Python3 提交中击败了 100.00% 的用户
# res = 0
# for i in range(k):
# if 10 <= arr[i] <= 99:
# res += arr[i]
# return res
# M2. 暴力解法
# 找出所有的两位数,然后求和
# 时间复杂度:O(n)
# 空间复杂度:O(1)
# 执行用时: 40 ms , 在所有 Python3 提交中击败了 99.99% 的用户
# 内存消耗:13.9 MB , 在所有 Python3 提交中击败了 100.00% 的用户
res = 0
for i in range(k):
if 10 <= arr[i] <= 99:
res += arr[i]
return res
if __name__ == "__main__":
print(add_elements([111, 21, 3, 4000, 5, 6, 7, 8, 9], 4))
Qwen--Qwen1.5-72B-Chat. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
total_sum = 0
for i in range(k):
if len(str(arr[i])) <= 2:
total_sum += arr[i]
return total_sum
# Test case
arr = [111, 21, 3, 4000, 5, 6, 7, 8, 9]
k = 4
mistral-large-latest. fail_base: False, fail_plus: False
Sure, here is the Python code to solve the problem:
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
return sum(i for i in arr[:k] if -99 <= i <= 99)
```
This function works by using a generator expression to filter out the numbers with at most two digits from the first `k` elements of the array, and then summing them up. The condition `-99 <= i <= 99` checks if a number has at most two digits.
HuggingFaceH4--starchat2-15b-v0.1. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
total = 0
for i in range(k):
if arr[i] < 100:
total += arr[i]
return total
# Test cases
assert add_elements([111,21,3,4000,5,6,7,8,9], 4) == 24
assert add_elements([1,2,3,4,5,6,7,8,9], 9) == 45
assert add_elements([10,20,30,40,50,60,70,80,90], 5) == 150
assert add_elements([100,200,300,400,500,600,700,800,900], 3) == 300
codegemma-7b. fail_base: False, fail_plus: True
def add_elements(arr, k):
result = 0
for i in range(k):
if len(str(arr[i])) <= 2:
result += arr[i]
return result
print(add_elements([111,21,3,4000,5,6,7,8,9], 4)) # Output: 24
code-llama-multi-13b. fail_base: True, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
# 1. 2-digit numbers
# 2. 1-digit numbers
# 3. 0-digit numbers
# 4. 0-digit numbers
# 5. 0-digit numbers
# 6. 0-digit numbers
# 7. 0-digit numbers
# 8. 0-digit numbers
# 9. 0-digit numbers
# 10. 0-digit numbers
# 11. 0-digit numbers
# 12. 0-digit numbers
# 13. 0-digit numbers
# 14. 0-digit numbers
# 15. 0-digit numbers
# 16. 0-digit numbers
# 17. 0-digit numbers
# 18. 0-digit numbers
# 19. 0-digit numbers
# 20. 0-digit numbers
# 21. 0-digit numbers
# 22. 0-digit numbers
# 23. 0-digit numbers
# 24. 0-digit numbers
# 25. 0-digit numbers
# 26. 0-digit numbers
# 27. 0-digit numbers
# 28. 0-digit numbers
# 29. 0-digit numbers
# 30. 0-digit numbers
# 31. 0-digit numbers
# 32. 0-digit numbers
# 33. 0-digit numbers
# 34. 0-digit numbers
# 35. 0-digit numbers
# 36. 0-digit numbers
# 37. 0-digit numbers
# 38. 0-digit numbers
# 39. 0-digit numbers
# 40. 0-digit numbers
# 41. 0-digit numbers
# 42. 0-digit numbers
# 43. 0-digit numbers
# 44
deepseek-coder-6.7b-instruct. fail_base: False, fail_plus: False
Here is the Python function in a markdown style code block:
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
return sum(x for x in arr[:k] if len(str(abs(x))) <= 2)
```
This function uses a list comprehension to iterate over the first k elements of arr, checks if the number of digits in each element is at most 2, and if so, adds it to the sum. The `abs` function is used to handle negative numbers. The `str` function is used to convert the numbers to strings, and the `len` function is used to count the number of digits.
open-hermes-2.5-code-290k-13b. fail_base: False, fail_plus: True
def add_elements(arr, k):
sum = 0
for i in range(k):
if len(str(arr[i])) <= 2:
sum += arr[i]
return sum
speechless-coder-ds-6.7b. fail_base: False, fail_plus: True
def add_elements(arr, k):
return sum(x for x in arr[:k] if 1 <= len(str(x)) <= 2)
codegemma-7b-it. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
sum = 0
for i in range(k):
if arr[i] < 100:
sum += arr[i]
return sum
deepseek-coder-33b. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
assert 1 <= len(arr) <= 100
assert 1 <= k <= len(arr)
total = 0
for i in range(k):
if len(str(arr[i])) <= 2:
total += arr[i]
return total
mistralai--Mistral-7B-Instruct-v0.2. fail_base: False, fail_plus: False
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
"""
return sum(filter(lambda x: len(str(abs(x))) <= 2, arr[:k]))
# Test cases
arr = [111, 21, 3, 4000, 5, 6, 7, 8, 9]
k = 4
xwincoder-34b. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
total_sum = 0
for i in range(k):
if len(str(arr[i])) <= 2:
total_sum += arr[i]
return total_sum
# Test the function
arr = [111, 21, 3, 4000, 5, 6, 7, 8, 9]
k = 4
print(add_elements(arr, k)) # Output: 24
code-13b. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
total = 0
for i in range(k):
if len(str(arr[i])) <= 2:
total += arr[i]
return total
# Test the function
arr = [111,21,3,4000,5,6,7,8,9]
k = 4
print(add_elements(arr, k)) # Expected output: 24
wizardcoder-15b. fail_base: False, fail_plus: True
Here's the Python script for the problem:
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
total = 0
count = 0
for i in range(k):
if arr[i] < 100:
total += arr[i]
count += 1
if count == 0:
return 0
elif count == 1:
return arr[k-1]
else:
return total
```
The function takes two arguments, `arr` and `k`. It initializes two variables, `total` and `count`, to 0. It then loops through the first `k` elements of `arr` and checks if each element has at most two digits. If it does, it adds it to `total` and increments `count`. If `count` is 0, it means that there are no elements with at most two digits, so the function returns 0. If `count` is 1, it means that there is only one element with at most two digits, so the function returns that element. Otherwise, it returns `total`.
mistral-7b-codealpaca. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
# Initialize the sum to 0
sum = 0
# Iterate over the first k elements of arr
for i in range(k):
# Check if the current element has at most two digits
if len(str(arr[i])) <= 2:
# Add the current element to the sum
sum += arr[i]
return sum
deepseek-coder-33b-instruct. fail_base: False, fail_plus: True
Here is the Python function implemented in a markdown style code block:
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
return sum(x for x in arr[:k] if x < 100)
```
This function works by using a generator expression to iterate over the first `k` elements of `arr`. For each element `x`, it checks if `x` is less than 100 (i.e., it has at most two digits). If `x` satisfies this condition, it is included in the sum. The `sum` function then adds up all the elements that satisfy this condition.
<|EOT|>
phi-2. fail_base: True, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
return sum(arr[:k])
def add_elements_2(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
return sum(arr[:k])
def add_elements_3(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
return sum(arr[:k])
def add_elements_4(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
return sum(arr[:k])
def add_elements_5(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9],
bigcode--starcoder2-15b-instruct-v0.1. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
total = 0
for i in range(k):
if arr[i] < 100:
total += arr[i]
return total
white-rabbit-neo-33b-v1. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
"""
sum_of_elements = 0
for i in range(k):
if arr[i] < 100:
sum_of_elements += arr[i]
return sum_of_elements
microsoft--Phi-3-mini-4k-instruct. fail_base: True, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
:param arr: List[int]
:param k: int
:return: int
"""
# Filter elements with at most two digits and sum the first k elements
return sum(x for x in arr[:k] if 10 <= x <= 99)
# Test cases
assert add_elements([111, 21, 3, 4000, 5, 6, 7, 8, 9], 4) == 24
assert add_elements([100, 20, 30, 40, 50], 2) == 50
assert add_elements([10, 20, 30, 40, 50], 5) == 150
assert add_elements([1, 2, 3, 4, 5], 1) == 1
assert add_elements([100, 200, 300, 400, 500], 3) == 500
speechless-codellama-34b. fail_base: False, fail_plus: True
def add_elements(arr, k):
sum = 0
for i in range(k):
if arr[i] < 100:
sum += arr[i]
return sum
```
This function takes in two parameters, `arr` and `k`. It initializes a variable `sum` to 0 and then loops through the first `k` elements of `arr`. If the element is less than 100 (i.e., has at most two digits), it is added to the `sum`. Finally, the function returns the `sum`.
meta-llama-3-70b-instruct. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
"""
return sum(num for num in arr[:k] if 10 <= num <= 99 or num < 10)
# Example usage:
arr = [111, 21, 3, 4000, 5, 6, 7, 8, 9]
k = 4
print(add_elements(arr, k)) # Output: 24
code-llama-70b-instruct. fail_base: False, fail_plus: True
def add_elements(arr, k):
# Initialize the sum of elements with at most two digits
sum_of_elements = 0
# Iterate through the first k elements of the array
for i in range(k):
# Check if the element has at most two digits
if arr[i] < 100:
# Add the element to the sum
sum_of_elements += arr[i]
# Return the sum of elements with at most two digits
return sum_of_elements
# Test the function
arr = [111, 21, 3, 4000, 5, 6, 7, 8, 9]
k = 4
print(add_elements(arr, k)) # Output: 24
opencodeinterpreter-ds-33b. fail_base: False, fail_plus: True
```python
def add_elements(arr, k):
sum = 0
for i in range(k):
if arr[i] < 100:
sum += arr[i]
return sum
openchat. fail_base: False, fail_plus: True
def add_elements(arr, k):
# Initialize the sum to 0
sum = 0
# Iterate over the first k elements of the array
for i in range(k):
# Add the element to the sum if it has at most two digits
if len(str(arr[i])) <= 2:
sum += arr[i]
return sum
deepseek-coder-7b-instruct-v1.5. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
# Initialize sum
total_sum = 0
# Iterate over the first k elements
for i in range(k):
# Convert each element to string
str_num = str(arr[i])
# If the length of the string is less than or equal to 2, add it to the sum
if len(str_num) <= 2:
total_sum += arr[i]
# Return the total sum
return total_sum
speechless-starcoder2-7b. fail_base: False, fail_plus: True
def add_elements(arr, k):
sum = 0
for i in range(k):
if len(str(arr[i])) <= 2:
sum += arr[i]
return sum
wizardcoder-7b. fail_base: False, fail_plus: True
Here's the Python script for the given problem:
```python
def add_elements(arr, k):
# Initialize sum to 0
total_sum = 0
# Loop through the first k elements of the array
for i in range(k):
# Check if the current element has two digits or less
if len(str(arr[i])) <= 2:
# Add the element to the sum
total_sum += arr[i]
# Return the sum
return total_sum
```
Explanation:
We first initialize a variable `total_sum` to 0 to keep track of the sum of the elements with at most two digits. We then loop through the first `k` elements of the array using a for loop and check if the length of the string representation of the current element is less than or equal to 2. If it is, we add the element to the sum. Finally, we return the sum.
octocoder. fail_base: True, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
# Your code here
return sum(arr[:k])
gemma-1.1-7b-it. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
sum = 0
for i in range(k):
if len(str(arr[i])) <= 2:
sum += arr[i]
return sum
gpt-3.5-turbo. fail_base: True, fail_plus: True
Here's the code to complete the problem:
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
sum = 0
for i in range(k):
if arr[i] >= 10 and arr[i] <= 99:
sum += arr[i]
return sum
```
This code defines a function `add_elements` that takes an array `arr` and an integer `k` as input. It initializes a variable `sum` to 0. Then, it iterates over the first `k` elements of the array and checks if each element has at most two digits. If it does, the element is added to the `sum`. Finally, the function returns the `sum` as the output.
codebooga-34b. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
# Initialize sum to 0
sum = 0
# Iterate through the first k elements of arr
for i in range(k):
# If the element has at most two digits, add it to sum
if arr[i] < 100:
sum += arr[i]
# Return the sum
return sum
deepseek-coder-1.3b-instruct. fail_base: True, fail_plus: True
Here is the Python function you requested:
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
return sum(int(str(num)[i]) for i in range(2) for num in arr[:k])
```
This function uses list comprehension to iterate over the first k elements of the array, converts each number to a string, and then extracts the i-th digit (0-indexed) for i in the range 0 to 1. It then sums up these digits to get the final result.
speechless-mistral-7b. fail_base: False, fail_plus: True
def add_elements(arr, k):
sum = 0
for i in range(k):
if len(str(arr[i])) <= 2:
sum += arr[i]
return sum
```
This Python script defines a function `add_elements` that takes in an array `arr` and an integer `k`. It then iterates over the first `k` elements of the array and checks if the length of each element is less than or equal to 2. If it is, it adds the element to the sum. Finally, it returns the sum.
xdan-l1-chat. fail_base: False, fail_plus: True
def add_elements(arr, k):
sum = 0
for i in range(k):
num_digits = len(str(arr[i]))
if num_digits <= 2:
sum += arr[i]
return sum
solar-10.7b-instruct. fail_base: False, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
def add_elements(arr, k):
total_sum = 0
for element in arr[:k]:
if len(str(element)) <= 2:
total_sum += element
return total_sum
claude-3-sonnet-20240229. fail_base: True, fail_plus: True
```python
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
sum = 0
for i in range(k):
if arr[i] < 100 and arr[i] >= 0:
sum += arr[i]
return sum
code-33b. fail_base: False, fail_plus: True
def add_elements(arr, k):
# Initialize the sum to 0
sum = 0
# Iterate over the first k elements of arr
for i in range(k):
# If the element has at most two digits, add it to the sum
if len(str(arr[i])) <= 2:
sum += arr[i]
return sum
# Test the function with the given example
arr = [111,21,3,4000,5,6,7,8,9]
k = 4
print(add_elements(arr, k)) # Output: 24
starcoder2-15b-oci. fail_base: True, fail_plus: True
def add_elements(arr, k):
"""
Given a non-empty array of integers arr and an integer k, return
the sum of the elements with at most two digits from the first k elements of arr.
Example:
Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4
Output: 24 # sum of 21 + 3
Constraints:
1. 1 <= len(arr) <= 100
2. 1 <= k <= len(arr)
"""
# Your code here
# Test cases
arr = [111,21,3,4000,5,6,7,8,9]
k = 4
result = add_elements(arr, k)
speechless-starcoder2-15b. fail_base: True, fail_plus: True
def add_elements(arr, k):
sum = 0
for i in range(k):
if arr[i] < 10:
sum += arr[i]
elif arr[i] < 100:
sum += arr[i] % 10
return sum
python-code-13b. fail_base: True, fail_plus: True
def add_elements(arr, k):
# Initialize sum variable
sum = 0
# Iterate through the first k elements of arr
for i in range(k):
# Add the element to the sum
sum += arr[i]
# Return the sum
return sum
opencodeinterpreter-ds-6.7b. fail_base: False, fail_plus: True
```python
def add_elements(arr, k):
sum = 0
for i in range(k):
if len(str(arr[i])) <= 2:
sum += arr[i]
return sum
# Test the function
arr = [111,21,3,4000,5,6,7,8,9]
k = 4
add_elements(arr, k)
```