AtCoder Beginner Contest 114 - 755

You are given an integer N. Among the integers between 1 and N (inclusive), how many Shichi-Go-San numbers (literally "Seven-Five-Three numbers") are there?
Here, a Shichi-Go-San number is a positive integer that satisfies the following condition:
 - When the number is written in base ten, each of the digits 7, 5 and 3 appears at least once, and the other digits never appear.

-----Constraints-----
 - 1 \leq N < 10^9
 - N is an integer.

-----Input-----
Input is given from Standard Input in the following format:
N

-----Output-----
Print the number of the Shichi-Go-San numbers between 1 and N (inclusive).

-----Sample Input-----
575

-----Sample Output-----
4

There are four Shichi-Go-San numbers not greater than 575: 357, 375, 537 and 573.

Source: atcoder | Difficulty: EASY


Solutions:
n = int(input())

def dfs(s):
	if int(s) > n:
		return 0
	ret = 1 if all((s.count(c) for c in '357')) else 0
	for c in '357':
		ret += dfs(s + c)
	return ret
print(dfs('0'))


n = int(input())

def dfs(num):
	if int(num) > n:
		return 0
	res = 1 if all((num.count(c) > 0 for c in '753')) else 0
	for i in '753':
		res += dfs(num + i)
	return res
print(dfs('0'))


n = int(input())
count = 0

def f(s):
	global count
	if int(s) > n:
		return
	if all((s.count(i) > 0 for i in '357')):
		count += 1
	for i in '357':
		f(s + i)
f('0')
print(count)


N = int(input())

def dfs(S):
	if int(S) > N:
		return 0
	ret = 1 if all((S.count(c) for c in '753')) else 0
	for c in '753':
		ret += dfs(S + c)
	return ret
print(dfs('0'))


S = input()

def solve(s):
	if s and int(s) > int(S):
		return 0
	count = 0
	if set(s) == set('753'):
		count = 1
	for c in '753':
		count += solve(s + c)
	return count
print(solve(''))


ret = 0
n = int(input())

def dfs(i, f):
	if i > n:
		return
	if f == 7:
		global ret
		ret += 1
	dfs(i * 10 + 3, f | 1)
	dfs(i * 10 + 5, f | 2)
	dfs(i * 10 + 7, f | 4)
dfs(0, 0)
print(ret)


import itertools
N = str(input())
Keta = len(N)
N_List = ['3', '5', '7']
Ans = 0
for i in range(3, Keta):
	Ans += 3 ** i
	Ans -= 2 ** i * 3 - 3
N = int(N)
if Keta >= 3:
	for Moji in itertools.product(N_List, repeat=Keta):
		Moji_Kazu = len(set(Moji))
		Str_Number = int(''.join(Moji))
		if (Str_Number <= N) & (Moji_Kazu == 3):
			Ans += 1
print(Ans)


from itertools import *
n = int(input())
print(sum((len(set(a)) > 2 and n >= int(''.join(a)) for i in range(11) for a in product(*['357'] * i))))


from itertools import product
N = int(input())
count = 0
S = []
for i in range(10):
	S += product('357', repeat=i)
for s in S:
	if len(set(s)) > 2 and int(''.join(s)) <= N:
		count += 1
print(count)


N = int(input())

def shitigosan(x):
	if int(x) > N:
		return 0
	cnt = 1 if all((x.count(c) > 0 for c in '753')) else 0
	for i in '753':
		cnt += shitigosan(x + i)
	return cnt
print(shitigosan('0'))


def dfs(s):
	if int(s) > N:
		return 0
	res = 1 if all((s.count(c) > 0 for c in '753')) else 0
	for c in '753':
		res += dfs(s + c)
	return res
N = int(input())
print(dfs('0'))


from collections import deque
N = int(input())
S = deque([3, 5, 7])
ans = 0
for _ in range(3 ** 10):
	a = S.popleft()
	if a <= N:
		tmp = a
		(j3, j5, j7) = (False, False, False)
		while tmp > 0:
			if tmp % 10 == 3:
				j3 = True
			elif tmp % 10 == 5:
				j5 = True
			else:
				j7 = True
			tmp //= 10
		if j3 and j5 and j7:
			ans += 1
	S.append(a * 10 + 3)
	S.append(a * 10 + 5)
	S.append(a * 10 + 7)
print(ans)


n = int(input())

def dfs(s):
	if int(s) > n:
		return 0
	sum = all((s.count(c) > 0 for c in '753'))
	for c in '753':
		sum += dfs(s + c)
	return sum
print(dfs('0'))


def dfs(s):
	if int(s) > n:
		return 0
	m = 1 if all((s.count(i) > 0 for i in '753')) else 0
	for i in '753':
		m += dfs(s + i)
	return m
n = int(input())
print(dfs('0'))


N = int(input())
cnt = 0

def func(cur):
	global cnt
	if cur > N:
		return
	if set(str(cur)) == {'3', '5', '7'}:
		cnt += 1
	func(cur * 10 + 3)
	func(cur * 10 + 5)
	func(cur * 10 + 7)
func(0)
print(cnt)


from collections import deque

def solve(N):
	dq = deque([(3, {3: 1, 5: 0, 7: 0}), (5, {3: 0, 5: 1, 7: 0}), (7, {3: 0, 5: 0, 7: 1})])
	ans = 0
	while dq:
		(num, check) = dq.popleft()
		if num > N:
			break
		if sum(check.values()) == 3:
			ans += 1
		for i in (3, 5, 7):
			new_num = num * 10 + i
			if new_num > N:
				break
			new_check = check.copy()
			new_check[i] = 1
			dq.append((new_num, new_check))
	print(ans)

def __starting_point():
	N = int(input())
	solve(N)
__starting_point()


N = input()
digit = len(N)
N = int(N)
import itertools
ans = 0
for i in range(1, digit + 1):
	for prod in itertools.product(('3', '5', '7'), repeat=i):
		if int(''.join(prod)) <= N and len(set(prod)) == 3:
			ans += 1
print(ans)


import sys
import math
import itertools

def input():
	return sys.stdin.readline().rstrip()

def main():
	list = [[3, 5, 7]]
	N = int(input())
	for i in range(9):
		new = []
		for j in list[-1]:
			a = 10 * j
			new.append(a + 3)
			new.append(a + 5)
			new.append(a + 7)
		list.append(new)
	pass
	count = 0
	for sub in list:
		for j in sub:
			s = str(j)
			if j > N:
				print(count)
				return
			if '3' in s and '7' in s and ('5' in s):
				count += 1

def __starting_point():
	main()
__starting_point()


n = int(input())

def dfs(k):
	if int(k) > n:
		return 0
	ans = 1 if all((k.count(c) >= 1 for c in '753')) else 0
	for c in '753':
		ans += dfs(k + c)
	return ans
print(dfs('0'))


S = {3, 5, 7}
for _ in range(8):
	for x in list(S):
		for d in [3, 5, 7]:
			S |= {x * 10 + d}
N = int(input())
print(sum((e <= N and len(set(str(e))) == 3 for e in S)))


N = int(input())

def dfs(s, res):
	if int(s) > N:
		return 0
	res = +all((t in s for t in '753'))
	for i in '753':
		res += dfs(s + i, res)
	return res
print(dfs('0', 0))


import itertools
n = input()
c = [0, 0, 6, 36, 150, 540, 1806, 5796, 18150]
b = len(list((a for a in itertools.product(['3', '5', '7'], repeat=len(n)) if len(set(a)) == 3 and int(''.join(a)) <= int(n))))
print(sum(c[:len(n) - 1]) + b)


N = int(input().strip())

def f(s):
	if int(s) > N:
		return 0
	ret = 1 if all([c in s for c in '753']) else 0
	for c in '753':
		ret += f(s + c)
	return ret
print(f('0'))


n = int(input())

def dfs(x):
	if int(x) > n:
		return 0
	ret = 1 if all((x.count(c) for c in '753')) else 0
	for c in '753':
		ret += dfs(x + c)
	return ret
print(dfs('0'))


import sys
sys.setrecursionlimit(10 ** 6)
N = input()
lis = ['3', '5', '7']
count = 0

def dfs(A):
	nonlocal lis
	nonlocal count
	if len(A) >= len(N):
		A_str = ''.join(A)
		A_int = int(A_str)
		N_int = int(N)
		if N_int < A_int:
			return
	if len(set(A)) == 3:
		count += 1
	for v in range(3):
		A.append(lis[v])
		dfs(A)
		A.pop()
dfs([])
print(count)


n = int(input())
cnt = 0

def sft(s):
	global cnt
	if int(s) > n:
		return
	if '3' in s and '5' in s and ('7' in s):
		cnt += 1
	sft(s + '3')
	sft(s + '5')
	sft(s + '7')
sft('0')
print(cnt)


from itertools import *
n = input()
print(sum((sum((2 < len(set(a)) and int(''.join(a)) <= int(n) for a in product('357', repeat=l))) for l in range(len(n) + 1))))


import sys
sys.setrecursionlimit(10 ** 7)
n = int(input())

def search(x, use, cnt):
	if x > n:
		return
	if use == 7:
		cnt.append(1)
	search(x * 10 + 3, use | 4, cnt)
	search(x * 10 + 5, use | 2, cnt)
	search(x * 10 + 7, use | 1, cnt)
res = []
search(0, 0, res)
print(sum(res))


N = int(input())
T = ['3', '5', '7']
l = T.copy()
ans = 0
while l:
	n = l.pop()
	if int(n) > N:
		continue
	if len(set(n)) == 3:
		ans += 1
	for t in T:
		l.append(n + t)
print(ans)


from itertools import product
N = int(input())
L = []
for i in range(3, 10):
	L += list(product('753', repeat=i))
ans = 0
for l in L:
	if len(set(l)) > 2 and int(''.join(l)) <= N:
		ans += 1
print(ans)


n = int(input())

def dfs(s):
	if int(s) > n:
		return 0
	ans = 0
	if all((s.count(num) for num in '753')):
		ans = 1
	for num in '753':
		ans += dfs(s + num)
	return ans
print(dfs('0'))


n = int(input())

def f(s):
	if int(s) > n:
		return 0
	elif all((s.count(c) > 0 for c in '753')):
		t = 1
	else:
		t = 0
	for a in '753':
		t += f(s + a)
	return t
print(f('0'))


N = int(input())
ans = 0

def dfs(s):
	global ans
	if N < int(s):
		return 0
	if all([s.count(i) for i in '753']):
		ans += 1
	for i in '753':
		dfs(s + i)
dfs('0')
print(ans)


N = int(input())

def aaa(n):
	if int(n) > N:
		return 0
	ans = 1 if set(str(int(n))) == {'7', '5', '3'} else 0
	for i in '753':
		ans += aaa(n + i)
	return ans
print(aaa('0'))


n = int(input())
import itertools as it
ans = 0
for i in range(len(str(n)) + 1):
	for p in it.product('357', repeat=i):
		if set(p) == {'3', '5', '7'} and int(''.join(p)) <= n:
			ans += 1
print(ans)


N = int(input())

def dfs(str):
	if int(str) > N:
		return 0
	if all((str.count(base) > 0 for base in '753')):
		ans = 1
	else:
		ans = 0
	for base in '753':
		ans += dfs(str + base)
	return ans
print(dfs('0'))


import sys
import math
import itertools
from collections import defaultdict, deque, Counter
from copy import deepcopy
from bisect import bisect, bisect_right, bisect_left
from heapq import heapify, heappop, heappush
input = sys.stdin.readline

def RD():
	return input().rstrip()

def F():
	return float(input().rstrip())

def I():
	return int(input().rstrip())

def MI():
	return map(int, input().split())

def MF():
	return map(float, input().split())

def LI():
	return list(map(int, input().split()))

def TI():
	return tuple(map(int, input().split()))

def LF():
	return list(map(float, input().split()))

def Init(H, W, num):
	return [[num for i in range(W)] for j in range(H)]

def main():
	N = input().rstrip()
	keta = len(N)
	N = int(N)
	A = ['3', '5', '7']
	res = 0
	for i in itertools.product(A, repeat=keta):
		if len(set(i)) <= 2:
			pass
		else:
			temp = ''.join(i)
			if int(temp) <= N:
				res += 1
	while keta >= 2:
		res += pow(3, keta - 1) - 3 * pow(2, keta - 1) + 3
		keta -= 1
	print(res)

def __starting_point():
	main()
__starting_point()


N = int(input())
T = ('3', '5', '7')

def dfs(x):
	if x != '' and int(x) > N:
		return 0
	res = 0
	if len(set(x)) == 3:
		res = 1
	for t in T:
		res += dfs(x + t)
	return res
print(dfs(''))


import itertools

def main():
	N = int(input())
	cnt = 0
	for i in range(3, len(str(N)) + 1):
		for j in itertools.product([3, 5, 7], repeat=i):
			p = 0
			for (a, b) in enumerate(j[::-1]):
				p += b * 10 ** a
			if p > N:
				break
			if len(set(j)) == 3:
				cnt += 1
	print(cnt)
main()


import itertools as t
N = input()
X = []
for i in range(10):
	X += list(t.product('357', repeat=i))
print(sum((len(set(i)) > 2 and int(''.join(i)) <= int(N) for i in X)))


N = int(input())

def dfs(s):
	if int(s) > N:
		return 0
	ret = 1 if '7' in s and '5' in s and ('3' in s) else 0
	for c in '753':
		ret += dfs(s + c)
	return ret
print(dfs('0'))


def readinput():
	n = int(input())
	return n

def main(n):
	stock = []
	for _ in range(10):
		stock.append([])
	stock[0].append('')
	for m in range(1, 10):
		for i in range(len(stock[m - 1])):
			stock[m].append(stock[m - 1][i] + '3')
			stock[m].append(stock[m - 1][i] + '5')
			stock[m].append(stock[m - 1][i] + '7')
	count = 0
	for m in range(3, 10):
		for i in range(len(stock[m])):
			if int(stock[m][i]) <= n and '3' in stock[m][i] and ('5' in stock[m][i]) and ('7' in stock[m][i]):
				count += 1
	return count

def __starting_point():
	n = readinput()
	ans = main(n)
	print(ans)
__starting_point()


from collections import deque
import bisect
n = int(input())
sft = deque()
x = deque([3, 5, 7])
while x:
	a = x.popleft()
	if 100 <= a <= 777:
		sft.append(a)
	else:
		x.append(a * 10 + 3)
		x.append(a * 10 + 5)
		x.append(a * 10 + 7)
ans = []
for i in range(3 ** 11):
	a = sft.popleft()
	ans.append(a)
	sft.append(a * 10 + 3)
	sft.append(a * 10 + 5)
	sft.append(a * 10 + 7)
count = 0
for i in ans:
	if n < i:
		print(count)
		break
	else:
		ss = str(i)
		if '3' in ss and '5' in ss and ('7' in ss):
			count += 1


N = int(input())

def dfs(S):
	if int(S) > N:
		return 0
	res = 1 if all((S.count(x) > 0 for x in '753')) else 0
	for x in '753':
		res += dfs(S + x)
	return res
print(dfs('0'))


n = int(input())
result = 0
q = list('753')
while q:
	s = q.pop(0)
	if int(s) > n:
		continue
	if all((s.count(c) > 0 for c in '753')):
		result += 1
	q.extend([s + c for c in '753'])
print(result)


N = int(input())

def solve(s):
	if int(s) > N:
		return 0
	ret = 1 if all((s.count(i) > 0 for i in '357')) else 0
	for c in '753':
		ret += solve(s + c)
	return ret
print(solve('0'))


import itertools
N = input()
if len(N) <= 2:
	print(0)
	return
product_list = []
for i in range(3, len(N) + 1):
	product_list += list(itertools.product('753', repeat=i))
res = 0
for i in product_list:
	num = ''.join(list(i))
	if int(N) < int(num):
		continue
	if num.count('5') > 0 and num.count('7') > 0 and (num.count('3') > 0):
		res += 1
print(res)


import sys
N = int(input())
sys.setrecursionlimit(27000)
cnt = 0

def func(n: int, x: str):
	nonlocal cnt
	cnt_3 = x.count('3')
	cnt_5 = x.count('5')
	cnt_7 = x.count('7')
	if n < len(x):
		return 0
	if int(x) <= N and cnt_3 > 0 and (cnt_5 > 0) and (cnt_7 > 0):
		cnt += 1
	func(n, x + '3')
	func(n, x + '5')
	func(n, x + '7')
func(len(str(N)), '3')
func(len(str(N)), '5')
func(len(str(N)), '7')
print(cnt)


import itertools
a = input()
b = int(a)
s = 0
for l in range(3, len(a) + 2):
	for i in itertools.product('753', repeat=l):
		if len(set(i)) == 3 and int(''.join(i)) <= b:
			s += 1
print(s)


N = int(input())

def shichi(n):
	if int(n) > N:
		return 0
	ret = 1 if all((n.count(c) > 0 for c in '753')) else 0
	for c in '753':
		ret += shichi(n + c)
	return ret
print(shichi('0'))


N = int(input())
Nstr = str(N)
Box = ['3', '5', '7']
Boxi = set(Box)
Box = []
Box2 = set()
for _ in range(10 ** 9):
	B = Boxi.pop()
	if len(B) < len(Nstr) and int(B) <= N:
		Boxi.add('3' + B)
		Boxi.add('5' + B)
		Boxi.add('7' + B)
		Box2.add('3' + B)
		Box2.add('5' + B)
		Box2.add('7' + B)
	if Boxi == set():
		break
for i in Box2:
	Bint = int(i)
	if Bint <= N and '3' in i and ('5' in i) and ('7' in i):
		Box.append(Bint)
print(len(Box))


n = int(input())

def dfs(s):
	if s != '' and int(s) > n:
		return 0
	if len(set(list(s))) < 3:
		ret = 0
	else:
		ret = 1
	for i in '753':
		ret += dfs(s + i)
	return ret
print(dfs(''))


from collections import deque
n = int(input())
l = len(str(n))
ans = 0
q = deque([(0, 0, 0, 0, 0, 0)])
while q:
	(a, b, c, d, e, f) = q.pop()
	a = a * 10 + b
	if a <= n and d >= 1 and (e >= 1) and (f >= 1):
		ans += 1
	if c == l:
		continue
	q.appendleft((a, 3, c + 1, d + 1, e, f))
	q.appendleft((a, 5, c + 1, d, e + 1, f))
	q.appendleft((a, 7, c + 1, d, e, f + 1))
print(ans)


N = int(input())
T = ('3', '5', '7')
from collections import deque
que = deque(list(T))
ans = 0
while que:
	num = que.pop()
	if int(num) > N:
		continue
	if len(set(num)) == 3:
		ans += 1
	for t in T:
		que.append(num + t)
print(ans)


n = int(input())

def func(s):
	if int(s) > n:
		return 0
	count = 1 if all((s.count(l) for l in '357')) else 0
	for l in '357':
		count += func(s + l)
	return count
print(func('0'))


n = int(input())

def dfs(x):
	if int(x) > n:
		return 0
	else:
		return all((d in x for d in '357')) + dfs(x + '3') + dfs(x + '5') + dfs(x + '7')
print(dfs('0'))


import itertools
N = int(input())
cnt = 0
for i in range(3, len(str(N)) + 1):
	for j in list(itertools.product('357', repeat=i)):
		if ('3' in j) & ('5' in j) & ('7' in j):
			if int(''.join(j)) <= N:
				cnt += 1
			else:
				break
print(cnt)


N = int(input())
ary = '357'

def f(s):
	if int(s) > N:
		return 0
	cnt = 1 if all((s.count(c) > 0 for c in ary)) else 0
	for c in ary:
		cnt += f(s + c)
	return cnt
print(f('0'))


from itertools import product
n_str = input()
n = int(n_str)
l = len(n_str)
e_list = ['3', '5', '7']
ans = 0
for i in range(3, l + 1):
	for temp in list(product(e_list, repeat=i)):
		if '3' in temp and '5' in temp and ('7' in temp):
			num = int(''.join(temp))
			if num <= n:
				ans += 1
print(ans)


import itertools
n = int(input())
products = []
for i in range(3, len(str(n)) + 1):
	tmp = list(itertools.product(['3', '5', '7'], repeat=i))
	tmp2 = list(map(''.join, tmp))
	tmp3 = list(map(int, tmp2))
	tmp4 = [j for j in tmp3 if j <= n]
	products = products + tmp4
out = 0
for p in products:
	str_p = str(p)
	if '3' in str_p and '5' in str_p and ('7' in str_p):
		out += 1
print(out)


n = int(input())

def dsf(s):
	if int(s) > n:
		return 0
	else:
		if all((s.count(c) > 0 for c in '753')):
			x = 1
		else:
			x = 0
		for c in '753':
			x += dsf(s + c)
		return x
print(dsf('0'))


import itertools

def main():
	n = input()
	print(sev(n))

def sev(n: str) -> int:
	ret = 0
	d = len(n)
	while d > 2:
		for comb in itertools.product(['3', '5', '7'], repeat=d):
			s = ''.join(comb)
			if '3' in s and '5' in s and ('7' in s) and (int(s) <= int(n)):
				ret += 1
		d -= 1
	return ret

def __starting_point():
	main()
__starting_point()


n = int(input())

def sgs(s):
	if int(s) > n:
		return 0
	if all((s.count(c) > 0 for c in '753')):
		ans = 1
	else:
		ans = 0
	for c in '753':
		ans += sgs(s + c)
	return ans
print(sgs('0'))


N = int(input())
dic = [3, 5, 7]
ans = set()

def dfs(s):
	if s:
		if int(s) <= N:
			if len(set(s)) == 3:
				ans.add(s)
		else:
			return
	for c in '753':
		dfs(s + c)
dfs('')
print(len(ans))


import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007

def main():
	N = int(readline())

	def rec(n, used):
		ans = 0
		if all(used):
			ans += 1
		for (i, d) in enumerate((3, 7, 5)):
			if 10 * n + d <= N:
				cur = used[i]
				used[i] = True
				ans += rec(10 * n + d, used)
				used[i] = cur
		return ans
	print(rec(0, [False, False, False]))
	return

def __starting_point():
	main()
__starting_point()


n = int(input())

def dfs(s):
	ans = 0
	if int(s) > n:
		return 0
	else:
		ans += all(map(s.count, '357'))
		for i in '357':
			ans += dfs(s + i)
	return ans
print(dfs('0'))


N = int(input())

def dfs(keta, x):
	if x > N:
		return 0
	if keta == 9:
		three = 0
		five = 0
		seven = 0
		while x:
			if x % 10 == 3:
				three += 1
			elif x % 10 == 5:
				five += 1
			elif x % 10 == 7:
				seven += 1
			else:
				return 0
			x //= 10
		if three > 0 and five > 0 and (seven > 0):
			return 1
	else:
		ans = 0
		x *= 10
		ans += dfs(keta + 1, x)
		ans += dfs(keta + 1, x + 3)
		ans += dfs(keta + 1, x + 5)
		ans += dfs(keta + 1, x + 7)
		return ans
	return 0
print(dfs(0, 0))


from itertools import product
n = int(input())
if n < 357:
	print(0)
	return
ans = 0
for i in range(3, len(str(n))):
	ans += 3 ** i - 3 * 2 ** i + 3
for i in product(['3', '5', '7'], repeat=len(str(n))):
	if '3' in i and '5' in i and ('7' in i):
		if int(''.join(i)) <= n:
			ans += 1
print(ans)


from bisect import bisect_right
n = int(input())
l = [357, 375, 537, 573, 735, 753, 3357, 3375, 3537, 3557, 3573, 3575, 3577, 3735, 3753, 3755, 3757, 3775, 5337, 5357, 5373, 5375, 5377, 5537, 5573, 5733, 5735, 5737, 5753, 5773, 7335, 7353, 7355, 7357, 7375, 7533, 7535, 7537, 7553, 7573, 7735, 7753, 33357, 33375, 33537, 33557, 33573, 33575, 33577, 33735, 33753, 33755, 33757, 33775, 35337, 35357, 35373, 35375, 35377, 35537, 35557, 35573, 35575, 35577, 35733, 35735, 35737, 35753, 35755, 35757, 35773, 35775, 35777, 37335, 37353, 37355, 37357, 37375, 37533, 37535, 37537, 37553, 37555, 37557, 37573, 37575, 37577, 37735, 37753, 37755, 37757, 37775, 53337, 53357, 53373, 53375, 53377, 53537, 53557, 53573, 53575, 53577, 53733, 53735, 53737, 53753, 53755, 53757, 53773, 53775, 53777, 55337, 55357, 55373, 55375, 55377, 55537, 55573, 55733, 55735, 55737, 55753, 55773, 57333, 57335, 57337, 57353, 57355, 57357, 57373, 57375, 57377, 57533, 57535, 57537, 57553, 57573, 57733, 57735, 57737, 57753, 57773, 73335, 73353, 73355, 73357, 73375, 73533, 73535, 73537, 73553, 73555, 73557, 73573, 73575, 73577, 73735, 73753, 73755, 73757, 73775, 75333, 75335, 75337, 75353, 75355, 75357, 75373, 75375, 75377, 75533, 75535, 75537, 75553, 75573, 75733, 75735, 75737, 75753, 75773, 77335, 77353, 77355, 77357, 77375, 77533, 77535, 77537, 77553, 77573, 77735, 77753, 333357, 333375, 333537, 333557, 333573, 333575, 333577, 333735, 333753, 333755, 333757, 333775, 335337, 335357, 335373, 335375, 335377, 335537, 335557, 335573, 335575, 335577, 335733, 335735, 335737, 335753, 335755, 335757, 335773, 335775, 335777, 337335, 337353, 337355, 337357, 337375, 337533, 337535, 337537, 337553, 337555, 337557, 337573, 337575, 337577, 337735, 337753, 337755, 337757, 337775, 353337, 353357, 353373, 353375, 353377, 353537, 353557, 353573, 353575, 353577, 353733, 353735, 353737, 353753, 353755, 353757, 353773, 353775, 353777, 355337, 355357, 355373, 355375, 355377, 355537, 355557, 355573, 355575, 355577, 355733, 355735, 355737, 355753, 355755, 355757, 355773, 355775, 355777, 357333, 357335, 357337, 357353, 357355, 357357, 357373, 357375, 357377, 357533, 357535, 357537, 357553, 357555, 357557, 357573, 357575, 357577, 357733, 357735, 357737, 357753, 357755, 357757, 357773, 357775, 357777, 373335, 373353, 373355, 373357, 373375, 373533, 373535, 373537, 373553, 373555, 373557, 373573, 373575, 373577, 373735, 373753, 373755, 373757, 373775, 375333, 375335, 375337, 375353, 375355, 375357, 375373, 375375, 375377, 375533, 375535, 375537, 375553, 375555, 375557, 375573, 375575, 375577, 375733, 375735, 375737, 375753, 375755, 375757, 375773, 375775, 375777, 377335, 377353, 377355, 377357, 377375, 377533, 377535, 377537, 377553, 377555, 377557, 377573, 377575, 377577, 377735, 377753, 377755, 377757, 377775, 533337, 533357, 533373, 533375, 533377, 533537, 533557, 533573, 533575, 533577, 533733, 533735, 533737, 533753, 533755, 533757, 533773, 533775, 533777, 535337, 535357, 535373, 535375, 535377, 535537, 535557, 535573, 535575, 535577, 535733, 535735, 535737, 535753, 535755, 535757, 535773, 535775, 535777, 537333, 537335, 537337, 537353, 537355, 537357, 537373, 537375, 537377, 537533, 537535, 537537, 537553, 537555, 537557, 537573, 537575, 537577, 537733, 537735, 537737, 537753, 537755, 537757, 537773, 537775, 537777, 553337, 553357, 553373, 553375, 553377, 553537, 553557, 553573, 553575, 553577, 553733, 553735, 553737, 553753, 553755, 553757, 553773, 553775, 553777, 555337, 555357, 555373, 555375, 555377, 555537, 555573, 555733, 555735, 555737, 555753, 555773, 557333, 557335, 557337, 557353, 557355, 557357, 557373, 557375, 557377, 557533, 557535, 557537, 557553, 557573, 557733, 557735, 557737, 557753, 557773, 573333, 573335, 573337, 573353, 573355, 573357, 573373, 573375, 573377, 573533, 573535, 573537, 573553, 573555, 573557, 573573, 573575, 573577, 573733, 573735, 573737, 573753, 573755, 573757, 573773, 573775, 573777, 575333, 575335, 575337, 575353, 575355, 575357, 575373, 575375, 575377, 575533, 575535, 575537, 575553, 575573, 575733, 575735, 575737, 575753, 575773, 577333, 577335, 577337, 577353, 577355, 577357, 577373, 577375, 577377, 577533, 577535, 577537, 577553, 577573, 577733, 577735, 577737, 577753, 577773, 733335, 733353, 733355, 733357, 733375, 733533, 733535, 733537, 733553, 733555, 733557, 733573, 733575, 733577, 733735, 733753, 733755, 733757, 733775, 735333, 735335, 735337, 735353, 735355, 735357, 735373, 735375, 735377, 735533, 735535, 735537, 735553, 735555, 735557, 735573, 735575, 735577, 735733, 735735, 735737, 735753, 735755, 735757, 735773, 735775, 735777, 737335, 737353, 737355, 737357, 737375, 737533, 737535, 737537, 737553, 737555, 737557, 737573, 737575, 737577, 737735, 737753, 737755, 737757, 737775, 753333, 753335, 753337, 753353, 753355, 753357, 753373, 753375, 753377, 753533, 753535, 753537, 753553, 753555, 753557, 753573, 753575, 753577, 753733, 753735, 753737, 753753, 753755, 753757, 753773, 753775, 753777, 755333, 755335, 755337, 755353, 755355, 755357, 755373, 755375, 755377, 755533, 755535, 755537, 755553, 755573, 755733, 755735, 755737, 755753, 755773, 757333, 757335, 757337, 757353, 757355, 757357, 757373, 757375, 757377, 757533, 757535, 757537, 757553, 757573, 757733, 757735, 757737, 757753, 757773, 773335, 773353, 773355, 773357, 773375, 773533, 773535, 773537, 773553, 773555, 773557, 773573, 773575, 773577, 773735, 773753, 773755, 773757, 773775, 775333, 775335, 775337, 775353, 775355, 775357, 775373, 775375, 775377, 775533, 775535, 775537, 775553, 775573, 775733, 775735, 775737, 775753, 775773, 777335, 777353, 777355, 777357, 777375, 777533, 777535, 777537, 777553, 777573, 777735, 777753, 3333357, 3333375, 3333537, 3333557, 3333573, 3333575, 3333577, 3333735, 3333753, 3333755, 3333757, 3333775, 3335337, 3335357, 3335373, 3335375, 3335377, 3335537, 3335557, 3335573, 3335575, 3335577, 3335733, 3335735, 3335737, 3335753, 3335755, 3335757, 3335773, 3335775, 3335777, 3337335, 3337353, 3337355, 3337357, 3337375, 3337533, 3337535, 3337537, 3337553, 3337555, 3337557, 3337573, 3337575, 3337577, 3337735, 3337753, 3337755, 3337757, 3337775, 3353337, 3353357, 3353373, 3353375, 3353377, 3353537, 3353557, 3353573, 3353575, 3353577, 3353733, 3353735, 3353737, 3353753, 3353755, 3353757, 3353773, 3353775, 3353777, 3355337, 3355357, 3355373, 3355375, 3355377, 3355537, 3355557, 3355573, 3355575, 3355577, 3355733, 3355735, 3355737, 3355753, 3355755, 3355757, 3355773, 3355775, 3355777, 3357333, 3357335, 3357337, 3357353, 3357355, 3357357, 3357373, 3357375, 3357377, 3357533, 3357535, 3357537, 3357553, 3357555, 3357557, 3357573, 3357575, 3357577, 3357733, 3357735, 3357737, 3357753, 3357755, 3357757, 3357773, 3357775, 3357777, 3373335, 3373353, 3373355, 3373357, 3373375, 3373533, 3373535, 3373537, 3373553, 3373555, 3373557, 3373573, 3373575, 3373577, 3373735, 3373753, 3373755, 3373757, 3373775, 3375333, 3375335, 3375337, 3375353, 3375355, 3375357, 3375373, 3375375, 3375377, 3375533, 3375535, 3375537, 3375553, 3375555, 3375557, 3375573, 3375575, 3375577, 3375733, 3375735, 3375737, 3375753, 3375755, 3375757, 3375773, 3375775, 3375777, 3377335, 3377353, 3377355, 3377357, 3377375, 3377533, 3377535, 3377537, 3377553, 3377555, 3377557, 3377573, 3377575, 3377577, 3377735, 3377753, 3377755, 3377757, 3377775, 3533337, 3533357, 3533373, 3533375, 3533377, 3533537, 3533557, 3533573, 3533575, 3533577, 3533733, 3533735, 3533737, 3533753, 3533755, 3533757, 3533773, 3533775, 3533777, 3535337, 3535357, 3535373, 3535375, 3535377, 3535537, 3535557, 3535573, 3535575, 3535577, 3535733, 3535735, 3535737, 3535753, 3535755, 3535757, 3535773, 3535775, 3535777, 3537333, 3537335, 3537337, 3537353, 3537355, 3537357, 3537373, 3537375, 3537377, 3537533, 3537535, 3537537, 3537553, 3537555, 3537557, 3537573, 3537575, 3537577, 3537733, 3537735, 3537737, 3537753, 3537755, 3537757, 3537773, 3537775, 3537777, 3553337, 3553357, 3553373, 3553375, 3553377, 3553537, 3553557, 3553573, 3553575, 3553577, 3553733, 3553735, 3553737, 3553753, 3553755, 3553757, 3553773, 3553775, 3553777, 3555337, 3555357, 3555373, 3555375, 3555377, 3555537, 3555557, 3555573, 3555575, 3555577, 3555733, 3555735, 3555737, 3555753, 3555755, 3555757, 3555773, 3555775, 3555777, 3557333, 3557335, 3557337, 3557353, 3557355, 3557357, 3557373, 3557375, 3557377, 3557533, 3557535, 3557537, 3557553, 3557555, 3557557, 3557573, 3557575, 3557577, 3557733, 3557735, 3557737, 3557753, 3557755, 3557757, 3557773, 3557775, 3557777, 3573333, 3573335, 3573337, 3573353, 3573355, 3573357, 3573373, 3573375, 3573377, 3573533, 3573535, 3573537, 3573553, 3573555, 3573557, 3573573, 3573575, 3573577, 3573733, 3573735, 3573737, 3573753, 3573755, 3573757, 3573773, 3573775, 3573777, 3575333, 3575335, 3575337, 3575353, 3575355, 3575357, 3575373, 3575375, 3575377, 3575533, 3575535, 3575537, 3575553, 3575555, 3575557, 3575573, 3575575, 3575577, 3575733, 3575735, 3575737, 3575753, 3575755, 3575757, 3575773, 3575775, 3575777, 3577333, 3577335, 3577337, 3577353, 3577355, 3577357, 3577373, 3577375, 3577377, 3577533, 3577535, 3577537, 3577553, 3577555, 3577557, 3577573, 3577575, 3577577, 3577733, 3577735, 3577737, 3577753, 3577755, 3577757, 3577773, 3577775, 3577777, 3733335, 3733353, 3733355, 3733357, 3733375, 3733533, 3733535, 3733537, 3733553, 3733555, 3733557, 3733573, 3733575, 3733577, 3733735, 3733753, 3733755, 3733757, 3733775, 3735333, 3735335, 3735337, 3735353, 3735355, 3735357, 3735373, 3735375, 3735377, 3735533, 3735535, 3735537, 3735553, 3735555, 3735557, 3735573, 3735575, 3735577, 3735733, 3735735, 3735737, 3735753, 3735755, 3735757, 3735773, 3735775, 3735777, 3737335, 3737353, 3737355, 3737357, 3737375, 3737533, 3737535, 3737537, 3737553, 3737555, 3737557, 3737573, 3737575, 3737577, 3737735, 3737753, 3737755, 3737757, 3737775, 3753333, 3753335, 3753337, 3753353, 3753355, 3753357, 3753373, 3753375, 3753377, 3753533, 3753535, 3753537, 3753553, 3753555, 3753557, 3753573, 3753575, 3753577, 3753733, 3753735, 3753737, 3753753, 3753755, 3753757, 3753773, 3753775, 3753777, 3755333, 3755335, 3755337, 3755353, 3755355, 3755357, 3755373, 3755375, 3755377, 3755533, 3755535, 3755537, 3755553, 3755555, 3755557, 3755573, 3755575, 3755577, 3755733, 3755735, 3755737, 3755753, 3755755, 3755757, 3755773, 3755775, 3755777, 3757333, 3757335, 3757337, 3757353, 3757355, 3757357, 3757373, 3757375, 3757377, 3757533, 3757535, 3757537, 3757553, 3757555, 3757557, 3757573, 3757575, 3757577, 3757733, 3757735, 3757737, 3757753, 3757755, 3757757, 3757773, 3757775, 3757777, 3773335, 3773353, 3773355, 3773357, 3773375, 3773533, 3773535, 3773537, 3773553, 3773555, 3773557, 3773573, 3773575, 3773577, 3773735, 3773753, 3773755, 3773757, 3773775, 3775333, 3775335, 3775337, 3775353, 3775355, 3775357, 3775373, 3775375, 3775377, 3775533, 3775535, 3775537, 3775553, 3775555, 3775557, 3775573, 3775575, 3775577, 3775733, 3775735, 3775737, 3775753, 3775755, 3775757, 3775773, 3775775, 3775777, 3777335, 3777353, 3777355, 3777357, 3777375, 3777533, 3777535, 3777537, 3777553, 3777555, 3777557, 3777573, 3777575, 3777577, 3777735, 3777753, 3777755, 3777757, 3777775, 5333337, 5333357, 5333373, 5333375, 5333377, 5333537, 5333557, 5333573, 5333575, 5333577, 5333733, 5333735, 5333737, 5333753, 5333755, 5333757, 5333773, 5333775, 5333777, 5335337, 5335357, 5335373, 5335375, 5335377, 5335537, 5335557, 5335573, 5335575, 5335577, 5335733, 5335735, 5335737, 5335753, 5335755, 5335757, 5335773, 5335775, 5335777, 5337333, 5337335, 5337337, 5337353, 5337355, 5337357, 5337373, 5337375, 5337377, 5337533, 5337535, 5337537, 5337553, 5337555, 5337557, 5337573, 5337575, 5337577, 5337733, 5337735, 5337737, 5337753, 5337755, 5337757, 5337773, 5337775, 5337777, 5353337, 5353357, 5353373, 5353375, 5353377, 5353537, 5353557, 5353573, 5353575, 5353577, 5353733, 5353735, 5353737, 5353753, 5353755, 5353757, 5353773, 5353775, 5353777, 5355337, 5355357, 5355373, 5355375, 5355377, 5355537, 5355557, 5355573, 5355575, 5355577, 5355733, 5355735, 5355737, 5355753, 5355755, 5355757, 5355773, 5355775, 5355777, 5357333, 5357335, 5357337, 5357353, 5357355, 5357357, 5357373, 5357375, 5357377, 5357533, 5357535, 5357537, 5357553, 5357555, 5357557, 5357573, 5357575, 5357577, 5357733, 5357735, 5357737, 5357753, 5357755, 5357757, 5357773, 5357775, 5357777, 5373333, 5373335, 5373337, 5373353, 5373355, 5373357, 5373373, 5373375, 5373377, 5373533, 5373535, 5373537, 5373553, 5373555, 5373557, 5373573, 5373575, 5373577, 5373733, 5373735, 5373737, 5373753, 5373755, 5373757, 5373773, 5373775, 5373777, 5375333, 5375335, 5375337, 5375353, 5375355, 5375357, 5375373, 5375375, 5375377, 5375533, 5375535, 5375537, 5375553, 5375555, 5375557, 5375573, 5375575, 5375577, 5375733, 5375735, 5375737, 5375753, 5375755, 5375757, 5375773, 5375775, 5375777, 5377333, 5377335, 5377337, 5377353, 5377355, 5377357, 5377373, 5377375, 5377377, 5377533, 5377535, 5377537, 5377553, 5377555, 5377557, 5377573, 5377575, 5377577, 5377733, 5377735, 5377737, 5377753, 5377755, 5377757, 5377773, 5377775, 5377777, 5533337, 5533357, 5533373, 5533375, 5533377, 5533537, 5533557, 5533573, 5533575, 5533577, 5533733, 5533735, 5533737, 5533753, 5533755, 5533757, 5533773, 5533775, 5533777, 5535337, 5535357, 5535373, 5535375, 5535377, 5535537, 5535557, 5535573, 5535575, 5535577, 5535733, 5535735, 5535737, 5535753, 5535755, 5535757, 5535773, 5535775, 5535777, 5537333, 5537335, 5537337, 5537353, 5537355, 5537357, 5537373, 5537375, 5537377, 5537533, 5537535, 5537537, 5537553, 5537555, 5537557, 5537573, 5537575, 5537577, 5537733, 5537735, 5537737, 5537753, 5537755, 5537757, 5537773, 5537775, 5537777, 5553337, 5553357, 5553373, 5553375, 5553377, 5553537, 5553557, 5553573, 5553575, 5553577, 5553733, 5553735, 5553737, 5553753, 5553755, 5553757, 5553773, 5553775, 5553777, 5555337, 5555357, 5555373, 5555375, 5555377, 5555537, 5555573, 5555733, 5555735, 5555737, 5555753, 5555773, 5557333, 5557335, 5557337, 5557353, 5557355, 5557357, 5557373, 5557375, 5557377, 5557533, 5557535, 5557537, 5557553, 5557573, 5557733, 5557735, 5557737, 5557753, 5557773, 5573333, 5573335, 5573337, 5573353, 5573355, 5573357, 5573373, 5573375, 5573377, 5573533, 5573535, 5573537, 5573553, 5573555, 5573557, 5573573, 5573575, 5573577, 5573733, 5573735, 5573737, 5573753, 5573755, 5573757, 5573773, 5573775, 5573777, 5575333, 5575335, 5575337, 5575353, 5575355, 5575357, 5575373, 5575375, 5575377, 5575533, 5575535, 5575537, 5575553, 5575573, 5575733, 5575735, 5575737, 5575753, 5575773, 5577333, 5577335, 5577337, 5577353, 5577355, 5577357, 5577373, 5577375, 5577377, 5577533, 5577535, 5577537, 5577553, 5577573, 5577733, 5577735, 5577737, 5577753, 5577773, 5733333, 5733335, 5733337, 5733353, 5733355, 5733357, 5733373, 5733375, 5733377, 5733533, 5733535, 5733537, 5733553, 5733555, 5733557, 5733573, 5733575, 5733577, 5733733, 5733735, 5733737, 5733753, 5733755, 5733757, 5733773, 5733775, 5733777, 5735333, 5735335, 5735337, 5735353, 5735355, 5735357, 5735373, 5735375, 5735377, 5735533, 5735535, 5735537, 5735553, 5735555, 5735557, 5735573, 5735575, 5735577, 5735733, 5735735, 5735737, 5735753, 5735755, 5735757, 5735773, 5735775, 5735777, 5737333, 5737335, 5737337, 5737353, 5737355, 5737357, 5737373, 5737375, 5737377, 5737533, 5737535, 5737537, 5737553, 5737555, 5737557, 5737573, 5737575, 5737577, 5737733, 5737735, 5737737, 5737753, 5737755, 5737757, 5737773, 5737775, 5737777, 5753333, 5753335, 5753337, 5753353, 5753355, 5753357, 5753373, 5753375, 5753377, 5753533, 5753535, 5753537, 5753553, 5753555, 5753557, 5753573, 5753575, 5753577, 5753733, 5753735, 5753737, 5753753, 5753755, 5753757, 5753773, 5753775, 5753777, 5755333, 5755335, 5755337, 5755353, 5755355, 5755357, 5755373, 5755375, 5755377, 5755533, 5755535, 5755537, 5755553, 5755573, 5755733, 5755735, 5755737, 5755753, 5755773, 5757333, 5757335, 5757337, 5757353, 5757355, 5757357, 5757373, 5757375, 5757377, 5757533, 5757535, 5757537, 5757553, 5757573, 5757733, 5757735, 5757737, 5757753, 5757773, 5773333, 5773335, 5773337, 5773353, 5773355, 5773357, 5773373, 5773375, 5773377, 5773533, 5773535, 5773537, 5773553, 5773555, 5773557, 5773573, 5773575, 5773577, 5773733, 5773735, 5773737, 5773753, 5773755, 5773757, 5773773, 5773775, 5773777, 5775333, 5775335, 5775337, 5775353, 5775355, 5775357, 5775373, 5775375, 5775377, 5775533, 5775535, 5775537, 5775553, 5775573, 5775733, 5775735, 5775737, 5775753, 5775773, 5777333, 5777335, 5777337, 5777353, 5777355, 5777357, 5777373, 5777375, 5777377, 5777533, 5777535, 5777537, 5777553, 5777573, 5777733, 5777735, 5777737, 5777753, 5777773, 7333335, 7333353, 7333355, 7333357, 7333375, 7333533, 7333535, 7333537, 7333553, 7333555, 7333557, 7333573, 7333575, 7333577, 7333735, 7333753, 7333755, 7333757, 7333775, 7335333, 7335335, 7335337, 7335353, 7335355, 7335357, 7335373, 7335375, 7335377, 7335533, 7335535, 7335537, 7335553, 7335555, 7335557, 7335573, 7335575, 7335577, 7335733, 7335735, 7335737, 7335753, 7335755, 7335757, 7335773, 7335775, 7335777, 7337335, 7337353, 7337355, 7337357, 7337375, 7337533, 7337535, 7337537, 7337553, 7337555, 7337557, 7337573, 7337575, 7337577, 7337735, 7337753, 7337755, 7337757, 7337775, 7353333, 7353335, 7353337, 7353353, 7353355, 7353357, 7353373, 7353375, 7353377, 7353533, 7353535, 7353537, 7353553, 7353555, 7353557, 7353573, 7353575, 7353577, 7353733, 7353735, 7353737, 7353753, 7353755, 7353757, 7353773, 7353775, 7353777, 7355333, 7355335, 7355337, 7355353, 7355355, 7355357, 7355373, 7355375, 7355377, 7355533, 7355535, 7355537, 7355553, 7355555, 7355557, 7355573, 7355575, 7355577, 7355733, 7355735, 7355737, 7355753, 7355755, 7355757, 7355773, 7355775, 7355777, 7357333, 7357335, 7357337, 7357353, 7357355, 7357357, 7357373, 7357375, 7357377, 7357533, 7357535, 7357537, 7357553, 7357555, 7357557, 7357573, 7357575, 7357577, 7357733, 7357735, 7357737, 7357753, 7357755, 7357757, 7357773, 7357775, 7357777, 7373335, 7373353, 7373355, 7373357, 7373375, 7373533, 7373535, 7373537, 7373553, 7373555, 7373557, 7373573, 7373575, 7373577, 7373735, 7373753, 7373755, 7373757, 7373775, 7375333, 7375335, 7375337, 7375353, 7375355, 7375357, 7375373, 7375375, 7375377, 7375533, 7375535, 7375537, 7375553, 7375555, 7375557, 7375573, 7375575, 7375577, 7375733, 7375735, 7375737, 7375753, 7375755, 7375757, 7375773, 7375775, 7375777, 7377335, 7377353, 7377355, 7377357, 7377375, 7377533, 7377535, 7377537, 7377553, 7377555, 7377557, 7377573, 7377575, 7377577, 7377735, 7377753, 7377755, 7377757, 7377775, 7533333, 7533335, 7533337, 7533353, 7533355, 7533357, 7533373, 7533375, 7533377, 7533533, 7533535, 7533537, 7533553, 7533555, 7533557, 7533573, 7533575, 7533577, 7533733, 7533735, 7533737, 7533753, 7533755, 7533757, 7533773, 7533775, 7533777, 7535333, 7535335, 7535337, 7535353, 7535355, 7535357, 7535373, 7535375, 7535377, 7535533, 7535535, 7535537, 7535553, 7535555, 7535557, 7535573, 7535575, 7535577, 7535733, 7535735, 7535737, 7535753, 7535755, 7535757, 7535773, 7535775, 7535777, 7537333, 7537335, 7537337, 7537353, 7537355, 7537357, 7537373, 7537375, 7537377, 7537533, 7537535, 7537537, 7537553, 7537555, 7537557, 7537573, 7537575, 7537577, 7537733, 7537735, 7537737, 7537753, 7537755, 7537757, 7537773, 7537775, 7537777, 7553333, 7553335, 7553337, 7553353, 7553355, 7553357, 7553373, 7553375, 7553377, 7553533, 7553535, 7553537, 7553553, 7553555, 7553557, 7553573, 7553575, 7553577, 7553733, 7553735, 7553737, 7553753, 7553755, 7553757, 7553773, 7553775, 7553777, 7555333, 7555335, 7555337, 7555353, 7555355, 7555357, 7555373, 7555375, 7555377, 7555533, 7555535, 7555537, 7555553, 7555573, 7555733, 7555735, 7555737, 7555753, 7555773, 7557333, 7557335, 7557337, 7557353, 7557355, 7557357, 7557373, 7557375, 7557377, 7557533, 7557535, 7557537, 7557553, 7557573, 7557733, 7557735, 7557737, 7557753, 7557773, 7573333, 7573335, 7573337, 7573353, 7573355, 7573357, 7573373, 7573375, 7573377, 7573533, 7573535, 7573537, 7573553, 7573555, 7573557, 7573573, 7573575, 7573577, 7573733, 7573735, 7573737, 7573753, 7573755, 7573757, 7573773, 7573775, 7573777, 7575333, 7575335, 7575337, 7575353, 7575355, 7575357, 7575373, 7575375, 7575377, 7575533, 7575535, 7575537, 7575553, 7575573, 7575733, 7575735, 7575737, 7575753, 7575773, 7577333, 7577335, 7577337, 7577353, 7577355, 7577357, 7577373, 7577375, 7577377, 7577533, 7577535, 7577537, 7577553, 7577573, 7577733, 7577735, 7577737, 7577753, 7577773, 7733335, 7733353, 7733355, 7733357, 7733375, 7733533, 7733535, 7733537, 7733553, 7733555, 7733557, 7733573, 7733575, 7733577, 7733735, 7733753, 7733755, 7733757, 7733775, 7735333, 7735335, 7735337, 7735353, 7735355, 7735357, 7735373, 7735375, 7735377, 7735533, 7735535, 7735537, 7735553, 7735555, 7735557, 7735573, 7735575, 7735577, 7735733, 7735735, 7735737, 7735753, 7735755, 7735757, 7735773, 7735775, 7735777, 7737335, 7737353, 7737355, 7737357, 7737375, 7737533, 7737535, 7737537, 7737553, 7737555, 7737557, 7737573, 7737575, 7737577, 7737735, 7737753, 7737755, 7737757, 7737775, 7753333, 7753335, 7753337, 7753353, 7753355, 7753357, 7753373, 7753375, 7753377, 7753533, 7753535, 7753537, 7753553, 7753555, 7753557, 7753573, 7753575, 7753577, 7753733, 7753735, 7753737, 7753753, 7753755, 7753757, 7753773, 7753775, 7753777, 7755333, 7755335, 7755337, 7755353, 7755355, 7755357, 7755373, 7755375, 7755377, 7755533, 7755535, 7755537, 7755553, 7755573, 7755733, 7755735, 7755737, 7755753, 7755773, 7757333, 7757335, 7757337, 7757353, 7757355, 7757357, 7757373, 7757375, 7757377, 7757533, 7757535, 7757537, 7757553, 7757573, 7757733, 7757735, 7757737, 7757753, 7757773, 7773335, 7773353, 7773355, 7773357, 7773375, 7773533, 7773535, 7773537, 7773553, 7773555, 7773557, 7773573, 7773575, 7773577, 7773735, 7773753, 7773755, 7773757, 7773775, 7775333, 7775335, 7775337, 7775353, 7775355, 7775357, 7775373, 7775375, 7775377, 7775533, 7775535, 7775537, 7775553, 7775573, 7775733, 7775735, 7775737, 7775753, 7775773, 7777335, 7777353, 7777355, 7777357, 7777375, 7777533, 7777535, 7777537, 7777553, 7777573, 7777735, 7777753, 33333357, 33333375, 33333537, 33333557, 33333573, 33333575, 33333577, 33333735, 33333753, 33333755, 33333757, 33333775, 33335337, 33335357, 33335373, 33335375, 33335377, 33335537, 33335557, 33335573, 33335575, 33335577, 33335733, 33335735, 33335737, 33335753, 33335755, 33335757, 33335773, 33335775, 33335777, 33337335, 33337353, 33337355, 33337357, 33337375, 33337533, 33337535, 33337537, 33337553, 33337555, 33337557, 33337573, 33337575, 33337577, 33337735, 33337753, 33337755, 33337757, 33337775, 33353337, 33353357, 33353373, 33353375, 33353377, 33353537, 33353557, 33353573, 33353575, 33353577, 33353733, 33353735, 33353737, 33353753, 33353755, 33353757, 33353773, 33353775, 33353777, 33355337, 33355357, 33355373, 33355375, 33355377, 33355537, 33355557, 33355573, 33355575, 33355577, 33355733, 33355735, 33355737, 33355753, 33355755, 33355757, 33355773, 33355775, 33355777, 33357333, 33357335, 33357337, 33357353, 33357355, 33357357, 33357373, 33357375, 33357377, 33357533, 33357535, 33357537, 33357553, 33357555, 33357557, 33357573, 33357575, 33357577, 33357733, 33357735, 33357737, 33357753, 33357755, 33357757, 33357773, 33357775, 33357777, 33373335, 33373353, 33373355, 33373357, 33373375, 33373533, 33373535, 33373537, 33373553, 33373555, 33373557, 33373573, 33373575, 33373577, 33373735, 33373753, 33373755, 33373757, 33373775, 33375333, 33375335, 33375337, 33375353, 33375355, 33375357, 33375373, 33375375, 33375377, 33375533, 33375535, 33375537, 33375553, 33375555, 33375557, 33375573, 33375575, 33375577, 33375733, 33375735, 33375737, 33375753, 33375755, 33375757, 33375773, 33375775, 33375777, 33377335, 33377353, 33377355, 33377357, 33377375, 33377533, 33377535, 33377537, 33377553, 33377555, 33377557, 33377573, 33377575, 33377577, 33377735, 33377753, 33377755, 33377757, 33377775, 33533337, 33533357, 33533373, 33533375, 33533377, 33533537, 33533557, 33533573, 33533575, 33533577, 33533733, 33533735, 33533737, 33533753, 33533755, 33533757, 33533773, 33533775, 33533777, 33535337, 33535357, 33535373, 33535375, 33535377, 33535537, 33535557, 33535573, 33535575, 33535577, 33535733, 33535735, 33535737, 33535753, 33535755, 33535757, 33535773, 33535775, 33535777, 33537333, 33537335, 33537337, 33537353, 33537355, 33537357, 33537373, 33537375, 33537377, 33537533, 33537535, 33537537, 33537553, 33537555, 33537557, 33537573, 33537575, 33537577, 33537733, 33537735, 33537737, 33537753, 33537755, 33537757, 33537773, 33537775, 33537777, 33553337, 33553357, 33553373, 33553375, 33553377, 33553537, 33553557, 33553573, 33553575, 33553577, 33553733, 33553735, 33553737, 33553753, 33553755, 33553757, 33553773, 33553775, 33553777, 33555337, 33555357, 33555373, 33555375, 33555377, 33555537, 33555557, 33555573, 33555575, 33555577, 33555733, 33555735, 33555737, 33555753, 33555755, 33555757, 33555773, 33555775, 33555777, 33557333, 33557335, 33557337, 33557353, 33557355, 33557357, 33557373, 33557375, 33557377, 33557533, 33557535, 33557537, 33557553, 33557555, 33557557, 33557573, 33557575, 33557577, 33557733, 33557735, 33557737, 33557753, 33557755, 33557757, 33557773, 33557775, 33557777, 33573333, 33573335, 33573337, 33573353, 33573355, 33573357, 33573373, 33573375, 33573377, 33573533, 33573535, 33573537, 33573553, 33573555, 33573557, 33573573, 33573575, 33573577, 33573733, 33573735, 33573737, 33573753, 33573755, 33573757, 33573773, 33573775, 33573777, 33575333, 33575335, 33575337, 33575353, 33575355, 33575357, 33575373, 33575375, 33575377, 33575533, 33575535, 33575537, 33575553, 33575555, 33575557, 33575573, 33575575, 33575577, 33575733, 33575735, 33575737, 33575753, 33575755, 33575757, 33575773, 33575775, 33575777, 33577333, 33577335, 33577337, 33577353, 33577355, 33577357, 33577373, 33577375, 33577377, 33577533, 33577535, 33577537, 33577553, 33577555, 33577557, 33577573, 33577575, 33577577, 33577733, 33577735, 33577737, 33577753, 33577755, 33577757, 33577773, 33577775, 33577777, 33733335, 33733353, 33733355, 33733357, 33733375, 33733533, 33733535, 33733537, 33733553, 33733555, 33733557, 33733573, 33733575, 33733577, 33733735, 33733753, 33733755, 33733757, 33733775, 33735333, 33735335, 33735337, 33735353, 33735355, 33735357, 33735373, 33735375, 33735377, 33735533, 33735535, 33735537, 33735553, 33735555, 33735557, 33735573, 33735575, 33735577, 33735733, 33735735, 33735737, 33735753, 33735755, 33735757, 33735773, 33735775, 33735777, 33737335, 33737353, 33737355, 33737357, 33737375, 33737533, 33737535, 33737537, 33737553, 33737555, 33737557, 33737573, 33737575, 33737577, 33737735, 33737753, 33737755, 33737757, 33737775, 33753333, 33753335, 33753337, 33753353, 33753355, 33753357, 33753373, 33753375, 33753377, 33753533, 33753535, 33753537, 33753553, 33753555, 33753557, 33753573, 33753575, 33753577, 33753733, 33753735, 33753737, 33753753, 33753755, 33753757, 33753773, 33753775, 33753777, 33755333, 33755335, 33755337, 33755353, 33755355, 33755357, 33755373, 33755375, 33755377, 33755533, 33755535, 33755537, 33755553, 33755555, 33755557, 33755573, 33755575, 33755577, 33755733, 33755735, 33755737, 33755753, 33755755, 33755757, 33755773, 33755775, 33755777, 33757333, 33757335, 33757337, 33757353, 33757355, 33757357, 33757373, 33757375, 33757377, 33757533, 33757535, 33757537, 33757553, 33757555, 33757557, 33757573, 33757575, 33757577, 33757733, 33757735, 33757737, 33757753, 33757755, 33757757, 33757773, 33757775, 33757777, 33773335, 33773353, 33773355, 33773357, 33773375, 33773533, 33773535, 33773537, 33773553, 33773555, 33773557, 33773573, 33773575, 33773577, 33773735, 33773753, 33773755, 33773757, 33773775, 33775333, 33775335, 33775337, 33775353, 33775355, 33775357, 33775373, 33775375, 33775377, 33775533, 33775535, 33775537, 33775553, 33775555, 33775557, 33775573, 33775575, 33775577, 33775733, 33775735, 33775737, 33775753, 33775755, 33775757, 33775773, 33775775, 33775777, 33777335, 33777353, 33777355, 33777357, 33777375, 33777533, 33777535, 33777537, 33777553, 33777555, 33777557, 33777573, 33777575, 33777577, 33777735, 33777753, 33777755, 33777757, 33777775, 35333337, 35333357, 35333373, 35333375, 35333377, 35333537, 35333557, 35333573, 35333575, 35333577, 35333733, 35333735, 35333737, 35333753, 35333755, 35333757, 35333773, 35333775, 35333777, 35335337, 35335357, 35335373, 35335375, 35335377, 35335537, 35335557, 35335573, 35335575, 35335577, 35335733, 35335735, 35335737, 35335753, 35335755, 35335757, 35335773, 35335775, 35335777, 35337333, 35337335, 35337337, 35337353, 35337355, 35337357, 35337373, 35337375, 35337377, 35337533, 35337535, 35337537, 35337553, 35337555, 35337557, 35337573, 35337575, 35337577, 35337733, 35337735, 35337737, 35337753, 35337755, 35337757, 35337773, 35337775, 35337777, 35353337, 35353357, 35353373, 35353375, 35353377, 35353537, 35353557, 35353573, 35353575, 35353577, 35353733, 35353735, 35353737, 35353753, 35353755, 35353757, 35353773, 35353775, 35353777, 35355337, 35355357, 35355373, 35355375, 35355377, 35355537, 35355557, 35355573, 35355575, 35355577, 35355733, 35355735, 35355737, 35355753, 35355755, 35355757, 35355773, 35355775, 35355777, 35357333, 35357335, 35357337, 35357353, 35357355, 35357357, 35357373, 35357375, 35357377, 35357533, 35357535, 35357537, 35357553, 35357555, 35357557, 35357573, 35357575, 35357577, 35357733, 35357735, 35357737, 35357753, 35357755, 35357757, 35357773, 35357775, 35357777, 35373333, 35373335, 35373337, 35373353, 35373355, 35373357, 35373373, 35373375, 35373377, 35373533, 35373535, 35373537, 35373553, 35373555, 35373557, 35373573, 35373575, 35373577, 35373733, 35373735, 35373737, 35373753, 35373755, 35373757, 35373773, 35373775, 35373777, 35375333, 35375335, 35375337, 35375353, 35375355, 35375357, 35375373, 35375375, 35375377, 35375533, 35375535, 35375537, 35375553, 35375555, 35375557, 35375573, 35375575, 35375577, 35375733, 35375735, 35375737, 35375753, 35375755, 35375757, 35375773, 35375775, 35375777, 35377333, 35377335, 35377337, 35377353, 35377355, 35377357, 35377373, 35377375, 35377377, 35377533, 35377535, 35377537, 35377553, 35377555, 35377557, 35377573, 35377575, 35377577, 35377733, 35377735, 35377737, 35377753, 35377755, 35377757, 35377773, 35377775, 35377777, 35533337, 35533357, 35533373, 35533375, 35533377, 35533537, 35533557, 35533573, 35533575, 35533577, 35533733, 35533735, 35533737, 35533753, 35533755, 35533757, 35533773, 35533775, 35533777, 35535337, 35535357, 35535373, 35535375, 35535377, 35535537, 35535557, 35535573, 35535575, 35535577, 35535733, 35535735, 35535737, 35535753, 35535755, 35535757, 35535773, 35535775, 35535777, 35537333, 35537335, 35537337, 35537353, 35537355, 35537357, 35537373, 35537375, 35537377, 35537533, 35537535, 35537537, 35537553, 35537555, 35537557, 35537573, 35537575, 35537577, 35537733, 35537735, 35537737, 35537753, 35537755, 35537757, 35537773, 35537775, 35537777, 35553337, 35553357, 35553373, 35553375, 35553377, 35553537, 35553557, 35553573, 35553575, 35553577, 35553733, 35553735, 35553737, 35553753, 35553755, 35553757, 35553773, 35553775, 35553777, 35555337, 35555357, 35555373, 35555375, 35555377, 35555537, 35555557, 35555573, 35555575, 35555577, 35555733, 35555735, 35555737, 35555753, 35555755, 35555757, 35555773, 35555775, 35555777, 35557333, 35557335, 35557337, 35557353, 35557355, 35557357, 35557373, 35557375, 35557377, 35557533, 35557535, 35557537, 35557553, 35557555, 35557557, 35557573, 35557575, 35557577, 35557733, 35557735, 35557737, 35557753, 35557755, 35557757, 35557773, 35557775, 35557777, 35573333, 35573335, 35573337, 35573353, 35573355, 35573357, 35573373, 35573375, 35573377, 35573533, 35573535, 35573537, 35573553, 35573555, 35573557, 35573573, 35573575, 35573577, 35573733, 35573735, 35573737, 35573753, 35573755, 35573757, 35573773, 35573775, 35573777, 35575333, 35575335, 35575337, 35575353, 35575355, 35575357, 35575373, 35575375, 35575377, 35575533, 35575535, 35575537, 35575553, 35575555, 35575557, 35575573, 35575575, 35575577, 35575733, 35575735, 35575737, 35575753, 35575755, 35575757, 35575773, 35575775, 35575777, 35577333, 35577335, 35577337, 35577353, 35577355, 35577357, 35577373, 35577375, 35577377, 35577533, 35577535, 35577537, 35577553, 35577555, 35577557, 35577573, 35577575, 35577577, 35577733, 35577735, 35577737, 35577753, 35577755, 35577757, 35577773, 35577775, 35577777, 35733333, 35733335, 35733337, 35733353, 35733355, 35733357, 35733373, 35733375, 35733377, 35733533, 35733535, 35733537, 35733553, 35733555, 35733557, 35733573, 35733575, 35733577, 35733733, 35733735, 35733737, 35733753, 35733755, 35733757, 35733773, 35733775, 35733777, 35735333, 35735335, 35735337, 35735353, 35735355, 35735357, 35735373, 35735375, 35735377, 35735533, 35735535, 35735537, 35735553, 35735555, 35735557, 35735573, 35735575, 35735577, 35735733, 35735735, 35735737, 35735753, 35735755, 35735757, 35735773, 35735775, 35735777, 35737333, 35737335, 35737337, 35737353, 35737355, 35737357, 35737373, 35737375, 35737377, 35737533, 35737535, 35737537, 35737553, 35737555, 35737557, 35737573, 35737575, 35737577, 35737733, 35737735, 35737737, 35737753, 35737755, 35737757, 35737773, 35737775, 35737777, 35753333, 35753335, 35753337, 35753353, 35753355, 35753357, 35753373, 35753375, 35753377, 35753533, 35753535, 35753537, 35753553, 35753555, 35753557, 35753573, 35753575, 35753577, 35753733, 35753735, 35753737, 35753753, 35753755, 35753757, 35753773, 35753775, 35753777, 35755333, 35755335, 35755337, 35755353, 35755355, 35755357, 35755373, 35755375, 35755377, 35755533, 35755535, 35755537, 35755553, 35755555, 35755557, 35755573, 35755575, 35755577, 35755733, 35755735, 35755737, 35755753, 35755755, 35755757, 35755773, 35755775, 35755777, 35757333, 35757335, 35757337, 35757353, 35757355, 35757357, 35757373, 35757375, 35757377, 35757533, 35757535, 35757537, 35757553, 35757555, 35757557, 35757573, 35757575, 35757577, 35757733, 35757735, 35757737, 35757753, 35757755, 35757757, 35757773, 35757775, 35757777, 35773333, 35773335, 35773337, 35773353, 35773355, 35773357, 35773373, 35773375, 35773377, 35773533, 35773535, 35773537, 35773553, 35773555, 35773557, 35773573, 35773575, 35773577, 35773733, 35773735, 35773737, 35773753, 35773755, 35773757, 35773773, 35773775, 35773777, 35775333, 35775335, 35775337, 35775353, 35775355, 35775357, 35775373, 35775375, 35775377, 35775533, 35775535, 35775537, 35775553, 35775555, 35775557, 35775573, 35775575, 35775577, 35775733, 35775735, 35775737, 35775753, 35775755, 35775757, 35775773, 35775775, 35775777, 35777333, 35777335, 35777337, 35777353, 35777355, 35777357, 35777373, 35777375, 35777377, 35777533, 35777535, 35777537, 35777553, 35777555, 35777557, 35777573, 35777575, 35777577, 35777733, 35777735, 35777737, 35777753, 35777755, 35777757, 35777773, 35777775, 35777777, 37333335, 37333353, 37333355, 37333357, 37333375, 37333533, 37333535, 37333537, 37333553, 37333555, 37333557, 37333573, 37333575, 37333577, 37333735, 37333753, 37333755, 37333757, 37333775, 37335333, 37335335, 37335337, 37335353, 37335355, 37335357, 37335373, 37335375, 37335377, 37335533, 37335535, 37335537, 37335553, 37335555, 37335557, 37335573, 37335575, 37335577, 37335733, 37335735, 37335737, 37335753, 37335755, 37335757, 37335773, 37335775, 37335777, 37337335, 37337353, 37337355, 37337357, 37337375, 37337533, 37337535, 37337537, 37337553, 37337555, 37337557, 37337573, 37337575, 37337577, 37337735, 37337753, 37337755, 37337757, 37337775, 37353333, 37353335, 37353337, 37353353, 37353355, 37353357, 37353373, 37353375, 37353377, 37353533, 37353535, 37353537, 37353553, 37353555, 37353557, 37353573, 37353575, 37353577, 37353733, 37353735, 37353737, 37353753, 37353755, 37353757, 37353773, 37353775, 37353777, 37355333, 37355335, 37355337, 37355353, 37355355, 37355357, 37355373, 37355375, 37355377, 37355533, 37355535, 37355537, 37355553, 37355555, 37355557, 37355573, 37355575, 37355577, 37355733, 37355735, 37355737, 37355753, 37355755, 37355757, 37355773, 37355775, 37355777, 37357333, 37357335, 37357337, 37357353, 37357355, 37357357, 37357373, 37357375, 37357377, 37357533, 37357535, 37357537, 37357553, 37357555, 37357557, 37357573, 37357575, 37357577, 37357733, 37357735, 37357737, 37357753, 37357755, 37357757, 37357773, 37357775, 37357777, 37373335, 37373353, 37373355, 37373357, 37373375, 37373533, 37373535, 37373537, 37373553, 37373555, 37373557, 37373573, 37373575, 37373577, 37373735, 37373753, 37373755, 37373757, 37373775, 37375333, 37375335, 37375337, 37375353, 37375355, 37375357, 37375373, 37375375, 37375377, 37375533, 37375535, 37375537, 37375553, 37375555, 37375557, 37375573, 37375575, 37375577, 37375733, 37375735, 37375737, 37375753, 37375755, 37375757, 37375773, 37375775, 37375777, 37377335, 37377353, 37377355, 37377357, 37377375, 37377533, 37377535, 37377537, 37377553, 37377555, 37377557, 37377573, 37377575, 37377577, 37377735, 37377753, 37377755, 37377757, 37377775, 37533333, 37533335, 37533337, 37533353, 37533355, 37533357, 37533373, 37533375, 37533377, 37533533, 37533535, 37533537, 37533553, 37533555, 37533557, 37533573, 37533575, 37533577, 37533733, 37533735, 37533737, 37533753, 37533755, 37533757, 37533773, 37533775, 37533777, 37535333, 37535335, 37535337, 37535353, 37535355, 37535357, 37535373, 37535375, 37535377, 37535533, 37535535, 37535537, 37535553, 37535555, 37535557, 37535573, 37535575, 37535577, 37535733, 37535735, 37535737, 37535753, 37535755, 37535757, 37535773, 37535775, 37535777, 37537333, 37537335, 37537337, 37537353, 37537355, 37537357, 37537373, 37537375, 37537377, 37537533, 37537535, 37537537, 37537553, 37537555, 37537557, 37537573, 37537575, 37537577, 37537733, 37537735, 37537737, 37537753, 37537755, 37537757, 37537773, 37537775, 37537777, 37553333, 37553335, 37553337, 37553353, 37553355, 37553357, 37553373, 37553375, 37553377, 37553533, 37553535, 37553537, 37553553, 37553555, 37553557, 37553573, 37553575, 37553577, 37553733, 37553735, 37553737, 37553753, 37553755, 37553757, 37553773, 37553775, 37553777, 37555333, 37555335, 37555337, 37555353, 37555355, 37555357, 37555373, 37555375, 37555377, 37555533, 37555535, 37555537, 37555553, 37555555, 37555557, 37555573, 37555575, 37555577, 37555733, 37555735, 37555737, 37555753, 37555755, 37555757, 37555773, 37555775, 37555777, 37557333, 37557335, 37557337, 37557353, 37557355, 37557357, 37557373, 37557375, 37557377, 37557533, 37557535, 37557537, 37557553, 37557555, 37557557, 37557573, 37557575, 37557577, 37557733, 37557735, 37557737, 37557753, 37557755, 37557757, 37557773, 37557775, 37557777, 37573333, 37573335, 37573337, 37573353, 37573355, 37573357, 37573373, 37573375, 37573377, 37573533, 37573535, 37573537, 37573553, 37573555, 37573557, 37573573, 37573575, 37573577, 37573733, 37573735, 37573737, 37573753, 37573755, 37573757, 37573773, 37573775, 37573777, 37575333, 37575335, 37575337, 37575353, 37575355, 37575357, 37575373, 37575375, 37575377, 37575533, 37575535, 37575537, 37575553, 37575555, 37575557, 37575573, 37575575, 37575577, 37575733, 37575735, 37575737, 37575753, 37575755, 37575757, 37575773, 37575775, 37575777, 37577333, 37577335, 37577337, 37577353, 37577355, 37577357, 37577373, 37577375, 37577377, 37577533, 37577535, 37577537, 37577553, 37577555, 37577557, 37577573, 37577575, 37577577, 37577733, 37577735, 37577737, 37577753, 37577755, 37577757, 37577773, 37577775, 37577777, 37733335, 37733353, 37733355, 37733357, 37733375, 37733533, 37733535, 37733537, 37733553, 37733555, 37733557, 37733573, 37733575, 37733577, 37733735, 37733753, 37733755, 37733757, 37733775, 37735333, 37735335, 37735337, 37735353, 37735355, 37735357, 37735373, 37735375, 37735377, 37735533, 37735535, 37735537, 37735553, 37735555, 37735557, 37735573, 37735575, 37735577, 37735733, 37735735, 37735737, 37735753, 37735755, 37735757, 37735773, 37735775, 37735777, 37737335, 37737353, 37737355, 37737357, 37737375, 37737533, 37737535, 37737537, 37737553, 37737555, 37737557, 37737573, 37737575, 37737577, 37737735, 37737753, 37737755, 37737757, 37737775, 37753333, 37753335, 37753337, 37753353, 37753355, 37753357, 37753373, 37753375, 37753377, 37753533, 37753535, 37753537, 37753553, 37753555, 37753557, 37753573, 37753575, 37753577, 37753733, 37753735, 37753737, 37753753, 37753755, 37753757, 37753773, 37753775, 37753777, 37755333, 37755335, 37755337, 37755353, 37755355, 37755357, 37755373, 37755375, 37755377, 37755533, 37755535, 37755537, 37755553, 37755555, 37755557, 37755573, 37755575, 37755577, 37755733, 37755735, 37755737, 37755753, 37755755, 37755757, 37755773, 37755775, 37755777, 37757333, 37757335, 37757337, 37757353, 37757355, 37757357, 37757373, 37757375, 37757377, 37757533, 37757535, 37757537, 37757553, 37757555, 37757557, 37757573, 37757575, 37757577, 37757733, 37757735, 37757737, 37757753, 37757755, 37757757, 37757773, 37757775, 37757777, 37773335, 37773353, 37773355, 37773357, 37773375, 37773533, 37773535, 37773537, 37773553, 37773555, 37773557, 37773573, 37773575, 37773577, 37773735, 37773753, 37773755, 37773757, 37773775, 37775333, 37775335, 37775337, 37775353, 37775355, 37775357, 37775373, 37775375, 37775377, 37775533, 37775535, 37775537, 37775553, 37775555, 37775557, 37775573, 37775575, 37775577, 37775733, 37775735, 37775737, 37775753, 37775755, 37775757, 37775773, 37775775, 37775777, 37777335, 37777353, 37777355, 37777357, 37777375, 37777533, 37777535, 37777537, 37777553, 37777555, 37777557, 37777573, 37777575, 37777577, 37777735, 37777753, 37777755, 37777757, 37777775, 53333337, 53333357, 53333373, 53333375, 53333377, 53333537, 53333557, 53333573, 53333575, 53333577, 53333733, 53333735, 53333737, 53333753, 53333755, 53333757, 53333773, 53333775, 53333777, 53335337, 53335357, 53335373, 53335375, 53335377, 53335537, 53335557, 53335573, 53335575, 53335577, 53335733, 53335735, 53335737, 53335753, 53335755, 53335757, 53335773, 53335775, 53335777, 53337333, 53337335, 53337337, 53337353, 53337355, 53337357, 53337373, 53337375, 53337377, 53337533, 53337535, 53337537, 53337553, 53337555, 53337557, 53337573, 53337575, 53337577, 53337733, 53337735, 53337737, 53337753, 53337755, 53337757, 53337773, 53337775, 53337777, 53353337, 53353357, 53353373, 53353375, 53353377, 53353537, 53353557, 53353573, 53353575, 53353577, 53353733, 53353735, 53353737, 53353753, 53353755, 53353757, 53353773, 53353775, 53353777, 53355337, 53355357, 53355373, 53355375, 53355377, 53355537, 53355557, 53355573, 53355575, 53355577, 53355733, 53355735, 53355737, 53355753, 53355755, 53355757, 53355773, 53355775, 53355777, 53357333, 53357335, 53357337, 53357353, 53357355, 53357357, 53357373, 53357375, 53357377, 53357533, 53357535, 53357537, 53357553, 53357555, 53357557, 53357573, 53357575, 53357577, 53357733, 53357735, 53357737, 53357753, 53357755, 53357757, 53357773, 53357775, 53357777, 53373333, 53373335, 53373337, 53373353, 53373355, 53373357, 53373373, 53373375, 53373377, 53373533, 53373535, 53373537, 53373553, 53373555, 53373557, 53373573, 53373575, 53373577, 53373733, 53373735, 53373737, 53373753, 53373755, 53373757, 53373773, 53373775, 53373777, 53375333, 53375335, 53375337, 53375353, 53375355, 53375357, 53375373, 53375375, 53375377, 53375533, 53375535, 53375537, 53375553, 53375555, 53375557, 53375573, 53375575, 53375577, 53375733, 53375735, 53375737, 53375753, 53375755, 53375757, 53375773, 53375775, 53375777, 53377333, 53377335, 53377337, 53377353, 53377355, 53377357, 53377373, 53377375, 53377377, 53377533, 53377535, 53377537, 53377553, 53377555, 53377557, 53377573, 53377575, 53377577, 53377733, 53377735, 53377737, 53377753, 53377755, 53377757, 53377773, 53377775, 53377777, 53533337, 53533357, 53533373, 53533375, 53533377, 53533537, 53533557, 53533573, 53533575, 53533577, 53533733, 53533735, 53533737, 53533753, 53533755, 53533757, 53533773, 53533775, 53533777, 53535337, 53535357, 53535373, 53535375, 53535377, 53535537, 53535557, 53535573, 53535575, 53535577, 53535733, 53535735, 53535737, 53535753, 53535755, 53535757, 53535773, 53535775, 53535777, 53537333, 53537335, 53537337, 53537353, 53537355, 53537357, 53537373, 53537375, 53537377, 53537533, 53537535, 53537537, 53537553, 53537555, 53537557, 53537573, 53537575, 53537577, 53537733, 53537735, 53537737, 53537753, 53537755, 53537757, 53537773, 53537775, 53537777, 53553337, 53553357, 53553373, 53553375, 53553377, 53553537, 53553557, 53553573, 53553575, 53553577, 53553733, 53553735, 53553737, 53553753, 53553755, 53553757, 53553773, 53553775, 53553777, 53555337, 53555357, 53555373, 53555375, 53555377, 53555537, 53555557, 53555573, 53555575, 53555577, 53555733, 53555735, 53555737, 53555753, 53555755, 53555757, 53555773, 53555775, 53555777, 53557333, 53557335, 53557337, 53557353, 53557355, 53557357, 53557373, 53557375, 53557377, 53557533, 53557535, 53557537, 53557553, 53557555, 53557557, 53557573, 53557575, 53557577, 53557733, 53557735, 53557737, 53557753, 53557755, 53557757, 53557773, 53557775, 53557777, 53573333, 53573335, 53573337, 53573353, 53573355, 53573357, 53573373, 53573375, 53573377, 53573533, 53573535, 53573537, 53573553, 53573555, 53573557, 53573573, 53573575, 53573577, 53573733, 53573735, 53573737, 53573753, 53573755, 53573757, 53573773, 53573775, 53573777, 53575333, 53575335, 53575337, 53575353, 53575355, 53575357, 53575373, 53575375, 53575377, 53575533, 53575535, 53575537, 53575553, 53575555, 53575557, 53575573, 53575575, 53575577, 53575733, 53575735, 53575737, 53575753, 53575755, 53575757, 53575773, 53575775, 53575777, 53577333, 53577335, 53577337, 53577353, 53577355, 53577357, 53577373, 53577375, 53577377, 53577533, 53577535, 53577537, 53577553, 53577555, 53577557, 53577573, 53577575, 53577577, 53577733, 53577735, 53577737, 53577753, 53577755, 53577757, 53577773, 53577775, 53577777, 53733333, 53733335, 53733337, 53733353, 53733355, 53733357, 53733373, 53733375, 53733377, 53733533, 53733535, 53733537, 53733553, 53733555, 53733557, 53733573, 53733575, 53733577, 53733733, 53733735, 53733737, 53733753, 53733755, 53733757, 53733773, 53733775, 53733777, 53735333, 53735335, 53735337, 53735353, 53735355, 53735357, 53735373, 53735375, 53735377, 53735533, 53735535, 53735537, 53735553, 53735555, 53735557, 53735573, 53735575, 53735577, 53735733, 53735735, 53735737, 53735753, 53735755, 53735757, 53735773, 53735775, 53735777, 53737333, 53737335, 53737337, 53737353, 53737355, 53737357, 53737373, 53737375, 53737377, 53737533, 53737535, 53737537, 53737553, 53737555, 53737557, 53737573, 53737575, 53737577, 53737733, 53737735, 53737737, 53737753, 53737755, 53737757, 53737773, 53737775, 53737777, 53753333, 53753335, 53753337, 53753353, 53753355, 53753357, 53753373, 53753375, 53753377, 53753533, 53753535, 53753537, 53753553, 53753555, 53753557, 53753573, 53753575, 53753577, 53753733, 53753735, 53753737, 53753753, 53753755, 53753757, 53753773, 53753775, 53753777, 53755333, 53755335, 53755337, 53755353, 53755355, 53755357, 53755373, 53755375, 53755377, 53755533, 53755535, 53755537, 53755553, 53755555, 53755557, 53755573, 53755575, 53755577, 53755733, 53755735, 53755737, 53755753, 53755755, 53755757, 53755773, 53755775, 53755777, 53757333, 53757335, 53757337, 53757353, 53757355, 53757357, 53757373, 53757375, 53757377, 53757533, 53757535, 53757537, 53757553, 53757555, 53757557, 53757573, 53757575, 53757577, 53757733, 53757735, 53757737, 53757753, 53757755, 53757757, 53757773, 53757775, 53757777, 53773333, 53773335, 53773337, 53773353, 53773355, 53773357, 53773373, 53773375, 53773377, 53773533, 53773535, 53773537, 53773553, 53773555, 53773557, 53773573, 53773575, 53773577, 53773733, 53773735, 53773737, 53773753, 53773755, 53773757, 53773773, 53773775, 53773777, 53775333, 53775335, 53775337, 53775353, 53775355, 53775357, 53775373, 53775375, 53775377, 53775533, 53775535, 53775537, 53775553, 53775555, 53775557, 53775573, 53775575, 53775577, 53775733, 53775735, 53775737, 53775753, 53775755, 53775757, 53775773, 53775775, 53775777, 53777333, 53777335, 53777337, 53777353, 53777355, 53777357, 53777373, 53777375, 53777377, 53777533, 53777535, 53777537, 53777553, 53777555, 53777557, 53777573, 53777575, 53777577, 53777733, 53777735, 53777737, 53777753, 53777755, 53777757, 53777773, 53777775, 53777777, 55333337, 55333357, 55333373, 55333375, 55333377, 55333537, 55333557, 55333573, 55333575, 55333577, 55333733, 55333735, 55333737, 55333753, 55333755, 55333757, 55333773, 55333775, 55333777, 55335337, 55335357, 55335373, 55335375, 55335377, 55335537, 55335557, 55335573, 55335575, 55335577, 55335733, 55335735, 55335737, 55335753, 55335755, 55335757, 55335773, 55335775, 55335777, 55337333, 55337335, 55337337, 55337353, 55337355, 55337357, 55337373, 55337375, 55337377, 55337533, 55337535, 55337537, 55337553, 55337555, 55337557, 55337573, 55337575, 55337577, 55337733, 55337735, 55337737, 55337753, 55337755, 55337757, 55337773, 55337775, 55337777, 55353337, 55353357, 55353373, 55353375, 55353377, 55353537, 55353557, 55353573, 55353575, 55353577, 55353733, 55353735, 55353737, 55353753, 55353755, 55353757, 55353773, 55353775, 55353777, 55355337, 55355357, 55355373, 55355375, 55355377, 55355537, 55355557, 55355573, 55355575, 55355577, 55355733, 55355735, 55355737, 55355753, 55355755, 55355757, 55355773, 55355775, 55355777, 55357333, 55357335, 55357337, 55357353, 55357355, 55357357, 55357373, 55357375, 55357377, 55357533, 55357535, 55357537, 55357553, 55357555, 55357557, 55357573, 55357575, 55357577, 55357733, 55357735, 55357737, 55357753, 55357755, 55357757, 55357773, 55357775, 55357777, 55373333, 55373335, 55373337, 55373353, 55373355, 55373357, 55373373, 55373375, 55373377, 55373533, 55373535, 55373537, 55373553, 55373555, 55373557, 55373573, 55373575, 55373577, 55373733, 55373735, 55373737, 55373753, 55373755, 55373757, 55373773, 55373775, 55373777, 55375333, 55375335, 55375337, 55375353, 55375355, 55375357, 55375373, 55375375, 55375377, 55375533, 55375535, 55375537, 55375553, 55375555, 55375557, 55375573, 55375575, 55375577, 55375733, 55375735, 55375737, 55375753, 55375755, 55375757, 55375773, 55375775, 55375777, 55377333, 55377335, 55377337, 55377353, 55377355, 55377357, 55377373, 55377375, 55377377, 55377533, 55377535, 55377537, 55377553, 55377555, 55377557, 55377573, 55377575, 55377577, 55377733, 55377735, 55377737, 55377753, 55377755, 55377757, 55377773, 55377775, 55377777, 55533337, 55533357, 55533373, 55533375, 55533377, 55533537, 55533557, 55533573, 55533575, 55533577, 55533733, 55533735, 55533737, 55533753, 55533755, 55533757, 55533773, 55533775, 55533777, 55535337, 55535357, 55535373, 55535375, 55535377, 55535537, 55535557, 55535573, 55535575, 55535577, 55535733, 55535735, 55535737, 55535753, 55535755, 55535757, 55535773, 55535775, 55535777, 55537333, 55537335, 55537337, 55537353, 55537355, 55537357, 55537373, 55537375, 55537377, 55537533, 55537535, 55537537, 55537553, 55537555, 55537557, 55537573, 55537575, 55537577, 55537733, 55537735, 55537737, 55537753, 55537755, 55537757, 55537773, 55537775, 55537777, 55553337, 55553357, 55553373, 55553375, 55553377, 55553537, 55553557, 55553573, 55553575, 55553577, 55553733, 55553735, 55553737, 55553753, 55553755, 55553757, 55553773, 55553775, 55553777, 55555337, 55555357, 55555373, 55555375, 55555377, 55555537, 55555573, 55555733, 55555735, 55555737, 55555753, 55555773, 55557333, 55557335, 55557337, 55557353, 55557355, 55557357, 55557373, 55557375, 55557377, 55557533, 55557535, 55557537, 55557553, 55557573, 55557733, 55557735, 55557737, 55557753, 55557773, 55573333, 55573335, 55573337, 55573353, 55573355, 55573357, 55573373, 55573375, 55573377, 55573533, 55573535, 55573537, 55573553, 55573555, 55573557, 55573573, 55573575, 55573577, 55573733, 55573735, 55573737, 55573753, 55573755, 55573757, 55573773, 55573775, 55573777, 55575333, 55575335, 55575337, 55575353, 55575355, 55575357, 55575373, 55575375, 55575377, 55575533, 55575535, 55575537, 55575553, 55575573, 55575733, 55575735, 55575737, 55575753, 55575773, 55577333, 55577335, 55577337, 55577353, 55577355, 55577357, 55577373, 55577375, 55577377, 55577533, 55577535, 55577537, 55577553, 55577573, 55577733, 55577735, 55577737, 55577753, 55577773, 55733333, 55733335, 55733337, 55733353, 55733355, 55733357, 55733373, 55733375, 55733377, 55733533, 55733535, 55733537, 55733553, 55733555, 55733557, 55733573, 55733575, 55733577, 55733733, 55733735, 55733737, 55733753, 55733755, 55733757, 55733773, 55733775, 55733777, 55735333, 55735335, 55735337, 55735353, 55735355, 55735357, 55735373, 55735375, 55735377, 55735533, 55735535, 55735537, 55735553, 55735555, 55735557, 55735573, 55735575, 55735577, 55735733, 55735735, 55735737, 55735753, 55735755, 55735757, 55735773, 55735775, 55735777, 55737333, 55737335, 55737337, 55737353, 55737355, 55737357, 55737373, 55737375, 55737377, 55737533, 55737535, 55737537, 55737553, 55737555, 55737557, 55737573, 55737575, 55737577, 55737733, 55737735, 55737737, 55737753, 55737755, 55737757, 55737773, 55737775, 55737777, 55753333, 55753335, 55753337, 55753353, 55753355, 55753357, 55753373, 55753375, 55753377, 55753533, 55753535, 55753537, 55753553, 55753555, 55753557, 55753573, 55753575, 55753577, 55753733, 55753735, 55753737, 55753753, 55753755, 55753757, 55753773, 55753775, 55753777, 55755333, 55755335, 55755337, 55755353, 55755355, 55755357, 55755373, 55755375, 55755377, 55755533, 55755535, 55755537, 55755553, 55755573, 55755733, 55755735, 55755737, 55755753, 55755773, 55757333, 55757335, 55757337, 55757353, 55757355, 55757357, 55757373, 55757375, 55757377, 55757533, 55757535, 55757537, 55757553, 55757573, 55757733, 55757735, 55757737, 55757753, 55757773, 55773333, 55773335, 55773337, 55773353, 55773355, 55773357, 55773373, 55773375, 55773377, 55773533, 55773535, 55773537, 55773553, 55773555, 55773557, 55773573, 55773575, 55773577, 55773733, 55773735, 55773737, 55773753, 55773755, 55773757, 55773773, 55773775, 55773777, 55775333, 55775335, 55775337, 55775353, 55775355, 55775357, 55775373, 55775375, 55775377, 55775533, 55775535, 55775537, 55775553, 55775573, 55775733, 55775735, 55775737, 55775753, 55775773, 55777333, 55777335, 55777337, 55777353, 55777355, 55777357, 55777373, 55777375, 55777377, 55777533, 55777535, 55777537, 55777553, 55777573, 55777733, 55777735, 55777737, 55777753, 55777773, 57333333, 57333335, 57333337, 57333353, 57333355, 57333357, 57333373, 57333375, 57333377, 57333533, 57333535, 57333537, 57333553, 57333555, 57333557, 57333573, 57333575, 57333577, 57333733, 57333735, 57333737, 57333753, 57333755, 57333757, 57333773, 57333775, 57333777, 57335333, 57335335, 57335337, 57335353, 57335355, 57335357, 57335373, 57335375, 57335377, 57335533, 57335535, 57335537, 57335553, 57335555, 57335557, 57335573, 57335575, 57335577, 57335733, 57335735, 57335737, 57335753, 57335755, 57335757, 57335773, 57335775, 57335777, 57337333, 57337335, 57337337, 57337353, 57337355, 57337357, 57337373, 57337375, 57337377, 57337533, 57337535, 57337537, 57337553, 57337555, 57337557, 57337573, 57337575, 57337577, 57337733, 57337735, 57337737, 57337753, 57337755, 57337757, 57337773, 57337775, 57337777, 57353333, 57353335, 57353337, 57353353, 57353355, 57353357, 57353373, 57353375, 57353377, 57353533, 57353535, 57353537, 57353553, 57353555, 57353557, 57353573, 57353575, 57353577, 57353733, 57353735, 57353737, 57353753, 57353755, 57353757, 57353773, 57353775, 57353777, 57355333, 57355335, 57355337, 57355353, 57355355, 57355357, 57355373, 57355375, 57355377, 57355533, 57355535, 57355537, 57355553, 57355555, 57355557, 57355573, 57355575, 57355577, 57355733, 57355735, 57355737, 57355753, 57355755, 57355757, 57355773, 57355775, 57355777, 57357333, 57357335, 57357337, 57357353, 57357355, 57357357, 57357373, 57357375, 57357377, 57357533, 57357535, 57357537, 57357553, 57357555, 57357557, 57357573, 57357575, 57357577, 57357733, 57357735, 57357737, 57357753, 57357755, 57357757, 57357773, 57357775, 57357777, 57373333, 57373335, 57373337, 57373353, 57373355, 57373357, 57373373, 57373375, 57373377, 57373533, 57373535, 57373537, 57373553, 57373555, 57373557, 57373573, 57373575, 57373577, 57373733, 57373735, 57373737, 57373753, 57373755, 57373757, 57373773, 57373775, 57373777, 57375333, 57375335, 57375337, 57375353, 57375355, 57375357, 57375373, 57375375, 57375377, 57375533, 57375535, 57375537, 57375553, 57375555, 57375557, 57375573, 57375575, 57375577, 57375733, 57375735, 57375737, 57375753, 57375755, 57375757, 57375773, 57375775, 57375777, 57377333, 57377335, 57377337, 57377353, 57377355, 57377357, 57377373, 57377375, 57377377, 57377533, 57377535, 57377537, 57377553, 57377555, 57377557, 57377573, 57377575, 57377577, 57377733, 57377735, 57377737, 57377753, 57377755, 57377757, 57377773, 57377775, 57377777, 57533333, 57533335, 57533337, 57533353, 57533355, 57533357, 57533373, 57533375, 57533377, 57533533, 57533535, 57533537, 57533553, 57533555, 57533557, 57533573, 57533575, 57533577, 57533733, 57533735, 57533737, 57533753, 57533755, 57533757, 57533773, 57533775, 57533777, 57535333, 57535335, 57535337, 57535353, 57535355, 57535357, 57535373, 57535375, 57535377, 57535533, 57535535, 57535537, 57535553, 57535555, 57535557, 57535573, 57535575, 57535577, 57535733, 57535735, 57535737, 57535753, 57535755, 57535757, 57535773, 57535775, 57535777, 57537333, 57537335, 57537337, 57537353, 57537355, 57537357, 57537373, 57537375, 57537377, 57537533, 57537535, 57537537, 57537553, 57537555, 57537557, 57537573, 57537575, 57537577, 57537733, 57537735, 57537737, 57537753, 57537755, 57537757, 57537773, 57537775, 57537777, 57553333, 57553335, 57553337, 57553353, 57553355, 57553357, 57553373, 57553375, 57553377, 57553533, 57553535, 57553537, 57553553, 57553555, 57553557, 57553573, 57553575, 57553577, 57553733, 57553735, 57553737, 57553753, 57553755, 57553757, 57553773, 57553775, 57553777, 57555333, 57555335, 57555337, 57555353, 57555355, 57555357, 57555373, 57555375, 57555377, 57555533, 57555535, 57555537, 57555553, 57555573, 57555733, 57555735, 57555737, 57555753, 57555773, 57557333, 57557335, 57557337, 57557353, 57557355, 57557357, 57557373, 57557375, 57557377, 57557533, 57557535, 57557537, 57557553, 57557573, 57557733, 57557735, 57557737, 57557753, 57557773, 57573333, 57573335, 57573337, 57573353, 57573355, 57573357, 57573373, 57573375, 57573377, 57573533, 57573535, 57573537, 57573553, 57573555, 57573557, 57573573, 57573575, 57573577, 57573733, 57573735, 57573737, 57573753, 57573755, 57573757, 57573773, 57573775, 57573777, 57575333, 57575335, 57575337, 57575353, 57575355, 57575357, 57575373, 57575375, 57575377, 57575533, 57575535, 57575537, 57575553, 57575573, 57575733, 57575735, 57575737, 57575753, 57575773, 57577333, 57577335, 57577337, 57577353, 57577355, 57577357, 57577373, 57577375, 57577377, 57577533, 57577535, 57577537, 57577553, 57577573, 57577733, 57577735, 57577737, 57577753, 57577773, 57733333, 57733335, 57733337, 57733353, 57733355, 57733357, 57733373, 57733375, 57733377, 57733533, 57733535, 57733537, 57733553, 57733555, 57733557, 57733573, 57733575, 57733577, 57733733, 57733735, 57733737, 57733753, 57733755, 57733757, 57733773, 57733775, 57733777, 57735333, 57735335, 57735337, 57735353, 57735355, 57735357, 57735373, 57735375, 57735377, 57735533, 57735535, 57735537, 57735553, 57735555, 57735557, 57735573, 57735575, 57735577, 57735733, 57735735, 57735737, 57735753, 57735755, 57735757, 57735773, 57735775, 57735777, 57737333, 57737335, 57737337, 57737353, 57737355, 57737357, 57737373, 57737375, 57737377, 57737533, 57737535, 57737537, 57737553, 57737555, 57737557, 57737573, 57737575, 57737577, 57737733, 57737735, 57737737, 57737753, 57737755, 57737757, 57737773, 57737775, 57737777, 57753333, 57753335, 57753337, 57753353, 57753355, 57753357, 57753373, 57753375, 57753377, 57753533, 57753535, 57753537, 57753553, 57753555, 57753557, 57753573, 57753575, 57753577, 57753733, 57753735, 57753737, 57753753, 57753755, 57753757, 57753773, 57753775, 57753777, 57755333, 57755335, 57755337, 57755353, 57755355, 57755357, 57755373, 57755375, 57755377, 57755533, 57755535, 57755537, 57755553, 57755573, 57755733, 57755735, 57755737, 57755753, 57755773, 57757333, 57757335, 57757337, 57757353, 57757355, 57757357, 57757373, 57757375, 57757377, 57757533, 57757535, 57757537, 57757553, 57757573, 57757733, 57757735, 57757737, 57757753, 57757773, 57773333, 57773335, 57773337, 57773353, 57773355, 57773357, 57773373, 57773375, 57773377, 57773533, 57773535, 57773537, 57773553, 57773555, 57773557, 57773573, 57773575, 57773577, 57773733, 57773735, 57773737, 57773753, 57773755, 57773757, 57773773, 57773775, 57773777, 57775333, 57775335, 57775337, 57775353, 57775355, 57775357, 57775373, 57775375, 57775377, 57775533, 57775535, 57775537, 57775553, 57775573, 57775733, 57775735, 57775737, 57775753, 57775773, 57777333, 57777335, 57777337, 57777353, 57777355, 57777357, 57777373, 57777375, 57777377, 57777533, 57777535, 57777537, 57777553, 57777573, 57777733, 57777735, 57777737, 57777753, 57777773, 73333335, 73333353, 73333355, 73333357, 73333375, 73333533, 73333535, 73333537, 73333553, 73333555, 73333557, 73333573, 73333575, 73333577, 73333735, 73333753, 73333755, 73333757, 73333775, 73335333, 73335335, 73335337, 73335353, 73335355, 73335357, 73335373, 73335375, 73335377, 73335533, 73335535, 73335537, 73335553, 73335555, 73335557, 73335573, 73335575, 73335577, 73335733, 73335735, 73335737, 73335753, 73335755, 73335757, 73335773, 73335775, 73335777, 73337335, 73337353, 73337355, 73337357, 73337375, 73337533, 73337535, 73337537, 73337553, 73337555, 73337557, 73337573, 73337575, 73337577, 73337735, 73337753, 73337755, 73337757, 73337775, 73353333, 73353335, 73353337, 73353353, 73353355, 73353357, 73353373, 73353375, 73353377, 73353533, 73353535, 73353537, 73353553, 73353555, 73353557, 73353573, 73353575, 73353577, 73353733, 73353735, 73353737, 73353753, 73353755, 73353757, 73353773, 73353775, 73353777, 73355333, 73355335, 73355337, 73355353, 73355355, 73355357, 73355373, 73355375, 73355377, 73355533, 73355535, 73355537, 73355553, 73355555, 73355557, 73355573, 73355575, 73355577, 73355733, 73355735, 73355737, 73355753, 73355755, 73355757, 73355773, 73355775, 73355777, 73357333, 73357335, 73357337, 73357353, 73357355, 73357357, 73357373, 73357375, 73357377, 73357533, 73357535, 73357537, 73357553, 73357555, 73357557, 73357573, 73357575, 73357577, 73357733, 73357735, 73357737, 73357753, 73357755, 73357757, 73357773, 73357775, 73357777, 73373335, 73373353, 73373355, 73373357, 73373375, 73373533, 73373535, 73373537, 73373553, 73373555, 73373557, 73373573, 73373575, 73373577, 73373735, 73373753, 73373755, 73373757, 73373775, 73375333, 73375335, 73375337, 73375353, 73375355, 73375357, 73375373, 73375375, 73375377, 73375533, 73375535, 73375537, 73375553, 73375555, 73375557, 73375573, 73375575, 73375577, 73375733, 73375735, 73375737, 73375753, 73375755, 73375757, 73375773, 73375775, 73375777, 73377335, 73377353, 73377355, 73377357, 73377375, 73377533, 73377535, 73377537, 73377553, 73377555, 73377557, 73377573, 73377575, 73377577, 73377735, 73377753, 73377755, 73377757, 73377775, 73533333, 73533335, 73533337, 73533353, 73533355, 73533357, 73533373, 73533375, 73533377, 73533533, 73533535, 73533537, 73533553, 73533555, 73533557, 73533573, 73533575, 73533577, 73533733, 73533735, 73533737, 73533753, 73533755, 73533757, 73533773, 73533775, 73533777, 73535333, 73535335, 73535337, 73535353, 73535355, 73535357, 73535373, 73535375, 73535377, 73535533, 73535535, 73535537, 73535553, 73535555, 73535557, 73535573, 73535575, 73535577, 73535733, 73535735, 73535737, 73535753, 73535755, 73535757, 73535773, 73535775, 73535777, 73537333, 73537335, 73537337, 73537353, 73537355, 73537357, 73537373, 73537375, 73537377, 73537533, 73537535, 73537537, 73537553, 73537555, 73537557, 73537573, 73537575, 73537577, 73537733, 73537735, 73537737, 73537753, 73537755, 73537757, 73537773, 73537775, 73537777, 73553333, 73553335, 73553337, 73553353, 73553355, 73553357, 73553373, 73553375, 73553377, 73553533, 73553535, 73553537, 73553553, 73553555, 73553557, 73553573, 73553575, 73553577, 73553733, 73553735, 73553737, 73553753, 73553755, 73553757, 73553773, 73553775, 73553777, 73555333, 73555335, 73555337, 73555353, 73555355, 73555357, 73555373, 73555375, 73555377, 73555533, 73555535, 73555537, 73555553, 73555555, 73555557, 73555573, 73555575, 73555577, 73555733, 73555735, 73555737, 73555753, 73555755, 73555757, 73555773, 73555775, 73555777, 73557333, 73557335, 73557337, 73557353, 73557355, 73557357, 73557373, 73557375, 73557377, 73557533, 73557535, 73557537, 73557553, 73557555, 73557557, 73557573, 73557575, 73557577, 73557733, 73557735, 73557737, 73557753, 73557755, 73557757, 73557773, 73557775, 73557777, 73573333, 73573335, 73573337, 73573353, 73573355, 73573357, 73573373, 73573375, 73573377, 73573533, 73573535, 73573537, 73573553, 73573555, 73573557, 73573573, 73573575, 73573577, 73573733, 73573735, 73573737, 73573753, 73573755, 73573757, 73573773, 73573775, 73573777, 73575333, 73575335, 73575337, 73575353, 73575355, 73575357, 73575373, 73575375, 73575377, 73575533, 73575535, 73575537, 73575553, 73575555, 73575557, 73575573, 73575575, 73575577, 73575733, 73575735, 73575737, 73575753, 73575755, 73575757, 73575773, 73575775, 73575777, 73577333, 73577335, 73577337, 73577353, 73577355, 73577357, 73577373, 73577375, 73577377, 73577533, 73577535, 73577537, 73577553, 73577555, 73577557, 73577573, 73577575, 73577577, 73577733, 73577735, 73577737, 73577753, 73577755, 73577757, 73577773, 73577775, 73577777, 73733335, 73733353, 73733355, 73733357, 73733375, 73733533, 73733535, 73733537, 73733553, 73733555, 73733557, 73733573, 73733575, 73733577, 73733735, 73733753, 73733755, 73733757, 73733775, 73735333, 73735335, 73735337, 73735353, 73735355, 73735357, 73735373, 73735375, 73735377, 73735533, 73735535, 73735537, 73735553, 73735555, 73735557, 73735573, 73735575, 73735577, 73735733, 73735735, 73735737, 73735753, 73735755, 73735757, 73735773, 73735775, 73735777, 73737335, 73737353, 73737355, 73737357, 73737375, 73737533, 73737535, 73737537, 73737553, 73737555, 73737557, 73737573, 73737575, 73737577, 73737735, 73737753, 73737755, 73737757, 73737775, 73753333, 73753335, 73753337, 73753353, 73753355, 73753357, 73753373, 73753375, 73753377, 73753533, 73753535, 73753537, 73753553, 73753555, 73753557, 73753573, 73753575, 73753577, 73753733, 73753735, 73753737, 73753753, 73753755, 73753757, 73753773, 73753775, 73753777, 73755333, 73755335, 73755337, 73755353, 73755355, 73755357, 73755373, 73755375, 73755377, 73755533, 73755535, 73755537, 73755553, 73755555, 73755557, 73755573, 73755575, 73755577, 73755733, 73755735, 73755737, 73755753, 73755755, 73755757, 73755773, 73755775, 73755777, 73757333, 73757335, 73757337, 73757353, 73757355, 73757357, 73757373, 73757375, 73757377, 73757533, 73757535, 73757537, 73757553, 73757555, 73757557, 73757573, 73757575, 73757577, 73757733, 73757735, 73757737, 73757753, 73757755, 73757757, 73757773, 73757775, 73757777, 73773335, 73773353, 73773355, 73773357, 73773375, 73773533, 73773535, 73773537, 73773553, 73773555, 73773557, 73773573, 73773575, 73773577, 73773735, 73773753, 73773755, 73773757, 73773775, 73775333, 73775335, 73775337, 73775353, 73775355, 73775357, 73775373, 73775375, 73775377, 73775533, 73775535, 73775537, 73775553, 73775555, 73775557, 73775573, 73775575, 73775577, 73775733, 73775735, 73775737, 73775753, 73775755, 73775757, 73775773, 73775775, 73775777, 73777335, 73777353, 73777355, 73777357, 73777375, 73777533, 73777535, 73777537, 73777553, 73777555, 73777557, 73777573, 73777575, 73777577, 73777735, 73777753, 73777755, 73777757, 73777775, 75333333, 75333335, 75333337, 75333353, 75333355, 75333357, 75333373, 75333375, 75333377, 75333533, 75333535, 75333537, 75333553, 75333555, 75333557, 75333573, 75333575, 75333577, 75333733, 75333735, 75333737, 75333753, 75333755, 75333757, 75333773, 75333775, 75333777, 75335333, 75335335, 75335337, 75335353, 75335355, 75335357, 75335373, 75335375, 75335377, 75335533, 75335535, 75335537, 75335553, 75335555, 75335557, 75335573, 75335575, 75335577, 75335733, 75335735, 75335737, 75335753, 75335755, 75335757, 75335773, 75335775, 75335777, 75337333, 75337335, 75337337, 75337353, 75337355, 75337357, 75337373, 75337375, 75337377, 75337533, 75337535, 75337537, 75337553, 75337555, 75337557, 75337573, 75337575, 75337577, 75337733, 75337735, 75337737, 75337753, 75337755, 75337757, 75337773, 75337775, 75337777, 75353333, 75353335, 75353337, 75353353, 75353355, 75353357, 75353373, 75353375, 75353377, 75353533, 75353535, 75353537, 75353553, 75353555, 75353557, 75353573, 75353575, 75353577, 75353733, 75353735, 75353737, 75353753, 75353755, 75353757, 75353773, 75353775, 75353777, 75355333, 75355335, 75355337, 75355353, 75355355, 75355357, 75355373, 75355375, 75355377, 75355533, 75355535, 75355537, 75355553, 75355555, 75355557, 75355573, 75355575, 75355577, 75355733, 75355735, 75355737, 75355753, 75355755, 75355757, 75355773, 75355775, 75355777, 75357333, 75357335, 75357337, 75357353, 75357355, 75357357, 75357373, 75357375, 75357377, 75357533, 75357535, 75357537, 75357553, 75357555, 75357557, 75357573, 75357575, 75357577, 75357733, 75357735, 75357737, 75357753, 75357755, 75357757, 75357773, 75357775, 75357777, 75373333, 75373335, 75373337, 75373353, 75373355, 75373357, 75373373, 75373375, 75373377, 75373533, 75373535, 75373537, 75373553, 75373555, 75373557, 75373573, 75373575, 75373577, 75373733, 75373735, 75373737, 75373753, 75373755, 75373757, 75373773, 75373775, 75373777, 75375333, 75375335, 75375337, 75375353, 75375355, 75375357, 75375373, 75375375, 75375377, 75375533, 75375535, 75375537, 75375553, 75375555, 75375557, 75375573, 75375575, 75375577, 75375733, 75375735, 75375737, 75375753, 75375755, 75375757, 75375773, 75375775, 75375777, 75377333, 75377335, 75377337, 75377353, 75377355, 75377357, 75377373, 75377375, 75377377, 75377533, 75377535, 75377537, 75377553, 75377555, 75377557, 75377573, 75377575, 75377577, 75377733, 75377735, 75377737, 75377753, 75377755, 75377757, 75377773, 75377775, 75377777, 75533333, 75533335, 75533337, 75533353, 75533355, 75533357, 75533373, 75533375, 75533377, 75533533, 75533535, 75533537, 75533553, 75533555, 75533557, 75533573, 75533575, 75533577, 75533733, 75533735, 75533737, 75533753, 75533755, 75533757, 75533773, 75533775, 75533777, 75535333, 75535335, 75535337, 75535353, 75535355, 75535357, 75535373, 75535375, 75535377, 75535533, 75535535, 75535537, 75535553, 75535555, 75535557, 75535573, 75535575, 75535577, 75535733, 75535735, 75535737, 75535753, 75535755, 75535757, 75535773, 75535775, 75535777, 75537333, 75537335, 75537337, 75537353, 75537355, 75537357, 75537373, 75537375, 75537377, 75537533, 75537535, 75537537, 75537553, 75537555, 75537557, 75537573, 75537575, 75537577, 75537733, 75537735, 75537737, 75537753, 75537755, 75537757, 75537773, 75537775, 75537777, 75553333, 75553335, 75553337, 75553353, 75553355, 75553357, 75553373, 75553375, 75553377, 75553533, 75553535, 75553537, 75553553, 75553555, 75553557, 75553573, 75553575, 75553577, 75553733, 75553735, 75553737, 75553753, 75553755, 75553757, 75553773, 75553775, 75553777, 75555333, 75555335, 75555337, 75555353, 75555355, 75555357, 75555373, 75555375, 75555377, 75555533, 75555535, 75555537, 75555553, 75555573, 75555733, 75555735, 75555737, 75555753, 75555773, 75557333, 75557335, 75557337, 75557353, 75557355, 75557357, 75557373, 75557375, 75557377, 75557533, 75557535, 75557537, 75557553, 75557573, 75557733, 75557735, 75557737, 75557753, 75557773, 75573333, 75573335, 75573337, 75573353, 75573355, 75573357, 75573373, 75573375, 75573377, 75573533, 75573535, 75573537, 75573553, 75573555, 75573557, 75573573, 75573575, 75573577, 75573733, 75573735, 75573737, 75573753, 75573755, 75573757, 75573773, 75573775, 75573777, 75575333, 75575335, 75575337, 75575353, 75575355, 75575357, 75575373, 75575375, 75575377, 75575533, 75575535, 75575537, 75575553, 75575573, 75575733, 75575735, 75575737, 75575753, 75575773, 75577333, 75577335, 75577337, 75577353, 75577355, 75577357, 75577373, 75577375, 75577377, 75577533, 75577535, 75577537, 75577553, 75577573, 75577733, 75577735, 75577737, 75577753, 75577773, 75733333, 75733335, 75733337, 75733353, 75733355, 75733357, 75733373, 75733375, 75733377, 75733533, 75733535, 75733537, 75733553, 75733555, 75733557, 75733573, 75733575, 75733577, 75733733, 75733735, 75733737, 75733753, 75733755, 75733757, 75733773, 75733775, 75733777, 75735333, 75735335, 75735337, 75735353, 75735355, 75735357, 75735373, 75735375, 75735377, 75735533, 75735535, 75735537, 75735553, 75735555, 75735557, 75735573, 75735575, 75735577, 75735733, 75735735, 75735737, 75735753, 75735755, 75735757, 75735773, 75735775, 75735777, 75737333, 75737335, 75737337, 75737353, 75737355, 75737357, 75737373, 75737375, 75737377, 75737533, 75737535, 75737537, 75737553, 75737555, 75737557, 75737573, 75737575, 75737577, 75737733, 75737735, 75737737, 75737753, 75737755, 75737757, 75737773, 75737775, 75737777, 75753333, 75753335, 75753337, 75753353, 75753355, 75753357, 75753373, 75753375, 75753377, 75753533, 75753535, 75753537, 75753553, 75753555, 75753557, 75753573, 75753575, 75753577, 75753733, 75753735, 75753737, 75753753, 75753755, 75753757, 75753773, 75753775, 75753777, 75755333, 75755335, 75755337, 75755353, 75755355, 75755357, 75755373, 75755375, 75755377, 75755533, 75755535, 75755537, 75755553, 75755573, 75755733, 75755735, 75755737, 75755753, 75755773, 75757333, 75757335, 75757337, 75757353, 75757355, 75757357, 75757373, 75757375, 75757377, 75757533, 75757535, 75757537, 75757553, 75757573, 75757733, 75757735, 75757737, 75757753, 75757773, 75773333, 75773335, 75773337, 75773353, 75773355, 75773357, 75773373, 75773375, 75773377, 75773533, 75773535, 75773537, 75773553, 75773555, 75773557, 75773573, 75773575, 75773577, 75773733, 75773735, 75773737, 75773753, 75773755, 75773757, 75773773, 75773775, 75773777, 75775333, 75775335, 75775337, 75775353, 75775355, 75775357, 75775373, 75775375, 75775377, 75775533, 75775535, 75775537, 75775553, 75775573, 75775733, 75775735, 75775737, 75775753, 75775773, 75777333, 75777335, 75777337, 75777353, 75777355, 75777357, 75777373, 75777375, 75777377, 75777533, 75777535, 75777537, 75777553, 75777573, 75777733, 75777735, 75777737, 75777753, 75777773, 77333335, 77333353, 77333355, 77333357, 77333375, 77333533, 77333535, 77333537, 77333553, 77333555, 77333557, 77333573, 77333575, 77333577, 77333735, 77333753, 77333755, 77333757, 77333775, 77335333, 77335335, 77335337, 77335353, 77335355, 77335357, 77335373, 77335375, 77335377, 77335533, 77335535, 77335537, 77335553, 77335555, 77335557, 77335573, 77335575, 77335577, 77335733, 77335735, 77335737, 77335753, 77335755, 77335757, 77335773, 77335775, 77335777, 77337335, 77337353, 77337355, 77337357, 77337375, 77337533, 77337535, 77337537, 77337553, 77337555, 77337557, 77337573, 77337575, 77337577, 77337735, 77337753, 77337755, 77337757, 77337775, 77353333, 77353335, 77353337, 77353353, 77353355, 77353357, 77353373, 77353375, 77353377, 77353533, 77353535, 77353537, 77353553, 77353555, 77353557, 77353573, 77353575, 77353577, 77353733, 77353735, 77353737, 77353753, 77353755, 77353757, 77353773, 77353775, 77353777, 77355333, 77355335, 77355337, 77355353, 77355355, 77355357, 77355373, 77355375, 77355377, 77355533, 77355535, 77355537, 77355553, 77355555, 77355557, 77355573, 77355575, 77355577, 77355733, 77355735, 77355737, 77355753, 77355755, 77355757, 77355773, 77355775, 77355777, 77357333, 77357335, 77357337, 77357353, 77357355, 77357357, 77357373, 77357375, 77357377, 77357533, 77357535, 77357537, 77357553, 77357555, 77357557, 77357573, 77357575, 77357577, 77357733, 77357735, 77357737, 77357753, 77357755, 77357757, 77357773, 77357775, 77357777, 77373335, 77373353, 77373355, 77373357, 77373375, 77373533, 77373535, 77373537, 77373553, 77373555, 77373557, 77373573, 77373575, 77373577, 77373735, 77373753, 77373755, 77373757, 77373775, 77375333, 77375335, 77375337, 77375353, 77375355, 77375357, 77375373, 77375375, 77375377, 77375533, 77375535, 77375537, 77375553, 77375555, 77375557, 77375573, 77375575, 77375577, 77375733, 77375735, 77375737, 77375753, 77375755, 77375757, 77375773, 77375775, 77375777, 77377335, 77377353, 77377355, 77377357, 77377375, 77377533, 77377535, 77377537, 77377553, 77377555, 77377557, 77377573, 77377575, 77377577, 77377735, 77377753, 77377755, 77377757, 77377775, 77533333, 77533335, 77533337, 77533353, 77533355, 77533357, 77533373, 77533375, 77533377, 77533533, 77533535, 77533537, 77533553, 77533555, 77533557, 77533573, 77533575, 77533577, 77533733, 77533735, 77533737, 77533753, 77533755, 77533757, 77533773, 77533775, 77533777, 77535333, 77535335, 77535337, 77535353, 77535355, 77535357, 77535373, 77535375, 77535377, 77535533, 77535535, 77535537, 77535553, 77535555, 77535557, 77535573, 77535575, 77535577, 77535733, 77535735, 77535737, 77535753, 77535755, 77535757, 77535773, 77535775, 77535777, 77537333, 77537335, 77537337, 77537353, 77537355, 77537357, 77537373, 77537375, 77537377, 77537533, 77537535, 77537537, 77537553, 77537555, 77537557, 77537573, 77537575, 77537577, 77537733, 77537735, 77537737, 77537753, 77537755, 77537757, 77537773, 77537775, 77537777, 77553333, 77553335, 77553337, 77553353, 77553355, 77553357, 77553373, 77553375, 77553377, 77553533, 77553535, 77553537, 77553553, 77553555, 77553557, 77553573, 77553575, 77553577, 77553733, 77553735, 77553737, 77553753, 77553755, 77553757, 77553773, 77553775, 77553777, 77555333, 77555335, 77555337, 77555353, 77555355, 77555357, 77555373, 77555375, 77555377, 77555533, 77555535, 77555537, 77555553, 77555573, 77555733, 77555735, 77555737, 77555753, 77555773, 77557333, 77557335, 77557337, 77557353, 77557355, 77557357, 77557373, 77557375, 77557377, 77557533, 77557535, 77557537, 77557553, 77557573, 77557733, 77557735, 77557737, 77557753, 77557773, 77573333, 77573335, 77573337, 77573353, 77573355, 77573357, 77573373, 77573375, 77573377, 77573533, 77573535, 77573537, 77573553, 77573555, 77573557, 77573573, 77573575, 77573577, 77573733, 77573735, 77573737, 77573753, 77573755, 77573757, 77573773, 77573775, 77573777, 77575333, 77575335, 77575337, 77575353, 77575355, 77575357, 77575373, 77575375, 77575377, 77575533, 77575535, 77575537, 77575553, 77575573, 77575733, 77575735, 77575737, 77575753, 77575773, 77577333, 77577335, 77577337, 77577353, 77577355, 77577357, 77577373, 77577375, 77577377, 77577533, 77577535, 77577537, 77577553, 77577573, 77577733, 77577735, 77577737, 77577753, 77577773, 77733335, 77733353, 77733355, 77733357, 77733375, 77733533, 77733535, 77733537, 77733553, 77733555, 77733557, 77733573, 77733575, 77733577, 77733735, 77733753, 77733755, 77733757, 77733775, 77735333, 77735335, 77735337, 77735353, 77735355, 77735357, 77735373, 77735375, 77735377, 77735533, 77735535, 77735537, 77735553, 77735555, 77735557, 77735573, 77735575, 77735577, 77735733, 77735735, 77735737, 77735753, 77735755, 77735757, 77735773, 77735775, 77735777, 77737335, 77737353, 77737355, 77737357, 77737375, 77737533, 77737535, 77737537, 77737553, 77737555, 77737557, 77737573, 77737575, 77737577, 77737735, 77737753, 77737755, 77737757, 77737775, 77753333, 77753335, 77753337, 77753353, 77753355, 77753357, 77753373, 77753375, 77753377, 77753533, 77753535, 77753537, 77753553, 77753555, 77753557, 77753573, 77753575, 77753577, 77753733, 77753735, 77753737, 77753753, 77753755, 77753757, 77753773, 77753775, 77753777, 77755333, 77755335, 77755337, 77755353, 77755355, 77755357, 77755373, 77755375, 77755377, 77755533, 77755535, 77755537, 77755553, 77755573, 77755733, 77755735, 77755737, 77755753, 77755773, 77757333, 77757335, 77757337, 77757353, 77757355, 77757357, 77757373, 77757375, 77757377, 77757533, 77757535, 77757537, 77757553, 77757573, 77757733, 77757735, 77757737, 77757753, 77757773, 77773335, 77773353, 77773355, 77773357, 77773375, 77773533, 77773535, 77773537, 77773553, 77773555, 77773557, 77773573, 77773575, 77773577, 77773735, 77773753, 77773755, 77773757, 77773775, 77775333, 77775335, 77775337, 77775353, 77775355, 77775357, 77775373, 77775375, 77775377, 77775533, 77775535, 77775537, 77775553, 77775573, 77775733, 77775735, 77775737, 77775753, 77775773, 77777335, 77777353, 77777355, 77777357, 77777375, 77777533, 77777535, 77777537, 77777553, 77777573, 77777735, 77777753, 333333357, 333333375, 333333537, 333333557, 333333573, 333333575, 333333577, 333333735, 333333753, 333333755, 333333757, 333333775, 333335337, 333335357, 333335373, 333335375, 333335377, 333335537, 333335557, 333335573, 333335575, 333335577, 333335733, 333335735, 333335737, 333335753, 333335755, 333335757, 333335773, 333335775, 333335777, 333337335, 333337353, 333337355, 333337357, 333337375, 333337533, 333337535, 333337537, 333337553, 333337555, 333337557, 333337573, 333337575, 333337577, 333337735, 333337753, 333337755, 333337757, 333337775, 333353337, 333353357, 333353373, 333353375, 333353377, 333353537, 333353557, 333353573, 333353575, 333353577, 333353733, 333353735, 333353737, 333353753, 333353755, 333353757, 333353773, 333353775, 333353777, 333355337, 333355357, 333355373, 333355375, 333355377, 333355537, 333355557, 333355573, 333355575, 333355577, 333355733, 333355735, 333355737, 333355753, 333355755, 333355757, 333355773, 333355775, 333355777, 333357333, 333357335, 333357337, 333357353, 333357355, 333357357, 333357373, 333357375, 333357377, 333357533, 333357535, 333357537, 333357553, 333357555, 333357557, 333357573, 333357575, 333357577, 333357733, 333357735, 333357737, 333357753, 333357755, 333357757, 333357773, 333357775, 333357777, 333373335, 333373353, 333373355, 333373357, 333373375, 333373533, 333373535, 333373537, 333373553, 333373555, 333373557, 333373573, 333373575, 333373577, 333373735, 333373753, 333373755, 333373757, 333373775, 333375333, 333375335, 333375337, 333375353, 333375355, 333375357, 333375373, 333375375, 333375377, 333375533, 333375535, 333375537, 333375553, 333375555, 333375557, 333375573, 333375575, 333375577, 333375733, 333375735, 333375737, 333375753, 333375755, 333375757, 333375773, 333375775, 333375777, 333377335, 333377353, 333377355, 333377357, 333377375, 333377533, 333377535, 333377537, 333377553, 333377555, 333377557, 333377573, 333377575, 333377577, 333377735, 333377753, 333377755, 333377757, 333377775, 333533337, 333533357, 333533373, 333533375, 333533377, 333533537, 333533557, 333533573, 333533575, 333533577, 333533733, 333533735, 333533737, 333533753, 333533755, 333533757, 333533773, 333533775, 333533777, 333535337, 333535357, 333535373, 333535375, 333535377, 333535537, 333535557, 333535573, 333535575, 333535577, 333535733, 333535735, 333535737, 333535753, 333535755, 333535757, 333535773, 333535775, 333535777, 333537333, 333537335, 333537337, 333537353, 333537355, 333537357, 333537373, 333537375, 333537377, 333537533, 333537535, 333537537, 333537553, 333537555, 333537557, 333537573, 333537575, 333537577, 333537733, 333537735, 333537737, 333537753, 333537755, 333537757, 333537773, 333537775, 333537777, 333553337, 333553357, 333553373, 333553375, 333553377, 333553537, 333553557, 333553573, 333553575, 333553577, 333553733, 333553735, 333553737, 333553753, 333553755, 333553757, 333553773, 333553775, 333553777, 333555337, 333555357, 333555373, 333555375, 333555377, 333555537, 333555557, 333555573, 333555575, 333555577, 333555733, 333555735, 333555737, 333555753, 333555755, 333555757, 333555773, 333555775, 333555777, 333557333, 333557335, 333557337, 333557353, 333557355, 333557357, 333557373, 333557375, 333557377, 333557533, 333557535, 333557537, 333557553, 333557555, 333557557, 333557573, 333557575, 333557577, 333557733, 333557735, 333557737, 333557753, 333557755, 333557757, 333557773, 333557775, 333557777, 333573333, 333573335, 333573337, 333573353, 333573355, 333573357, 333573373, 333573375, 333573377, 333573533, 333573535, 333573537, 333573553, 333573555, 333573557, 333573573, 333573575, 333573577, 333573733, 333573735, 333573737, 333573753, 333573755, 333573757, 333573773, 333573775, 333573777, 333575333, 333575335, 333575337, 333575353, 333575355, 333575357, 333575373, 333575375, 333575377, 333575533, 333575535, 333575537, 333575553, 333575555, 333575557, 333575573, 333575575, 333575577, 333575733, 333575735, 333575737, 333575753, 333575755, 333575757, 333575773, 333575775, 333575777, 333577333, 333577335, 333577337, 333577353, 333577355, 333577357, 333577373, 333577375, 333577377, 333577533, 333577535, 333577537, 333577553, 333577555, 333577557, 333577573, 333577575, 333577577, 333577733, 333577735, 333577737, 333577753, 333577755, 333577757, 333577773, 333577775, 333577777, 333733335, 333733353, 333733355, 333733357, 333733375, 333733533, 333733535, 333733537, 333733553, 333733555, 333733557, 333733573, 333733575, 333733577, 333733735, 333733753, 333733755, 333733757, 333733775, 333735333, 333735335, 333735337, 333735353, 333735355, 333735357, 333735373, 333735375, 333735377, 333735533, 333735535, 333735537, 333735553, 333735555, 333735557, 333735573, 333735575, 333735577, 333735733, 333735735, 333735737, 333735753, 333735755, 333735757, 333735773, 333735775, 333735777, 333737335, 333737353, 333737355, 333737357, 333737375, 333737533, 333737535, 333737537, 333737553, 333737555, 333737557, 333737573, 333737575, 333737577, 333737735, 333737753, 333737755, 333737757, 333737775, 333753333, 333753335, 333753337, 333753353, 333753355, 333753357, 333753373, 333753375, 333753377, 333753533, 333753535, 333753537, 333753553, 333753555, 333753557, 333753573, 333753575, 333753577, 333753733, 333753735, 333753737, 333753753, 333753755, 333753757, 333753773, 333753775, 333753777, 333755333, 333755335, 333755337, 333755353, 333755355, 333755357, 333755373, 333755375, 333755377, 333755533, 333755535, 333755537, 333755553, 333755555, 333755557, 333755573, 333755575, 333755577, 333755733, 333755735, 333755737, 333755753, 333755755, 333755757, 333755773, 333755775, 333755777, 333757333, 333757335, 333757337, 333757353, 333757355, 333757357, 333757373, 333757375, 333757377, 333757533, 333757535, 333757537, 333757553, 333757555, 333757557, 333757573, 333757575, 333757577, 333757733, 333757735, 333757737, 333757753, 333757755, 333757757, 333757773, 333757775, 333757777, 333773335, 333773353, 333773355, 333773357, 333773375, 333773533, 333773535, 333773537, 333773553, 333773555, 333773557, 333773573, 333773575, 333773577, 333773735, 333773753, 333773755, 333773757, 333773775, 333775333, 333775335, 333775337, 333775353, 333775355, 333775357, 333775373, 333775375, 333775377, 333775533, 333775535, 333775537, 333775553, 333775555, 333775557, 333775573, 333775575, 333775577, 333775733, 333775735, 333775737, 333775753, 333775755, 333775757, 333775773, 333775775, 333775777, 333777335, 333777353, 333777355, 333777357, 333777375, 333777533, 333777535, 333777537, 333777553, 333777555, 333777557, 333777573, 333777575, 333777577, 333777735, 333777753, 333777755, 333777757, 333777775, 335333337, 335333357, 335333373, 335333375, 335333377, 335333537, 335333557, 335333573, 335333575, 335333577, 335333733, 335333735, 335333737, 335333753, 335333755, 335333757, 335333773, 335333775, 335333777, 335335337, 335335357, 335335373, 335335375, 335335377, 335335537, 335335557, 335335573, 335335575, 335335577, 335335733, 335335735, 335335737, 335335753, 335335755, 335335757, 335335773, 335335775, 335335777, 335337333, 335337335, 335337337, 335337353, 335337355, 335337357, 335337373, 335337375, 335337377, 335337533, 335337535, 335337537, 335337553, 335337555, 335337557, 335337573, 335337575, 335337577, 335337733, 335337735, 335337737, 335337753, 335337755, 335337757, 335337773, 335337775, 335337777, 335353337, 335353357, 335353373, 335353375, 335353377, 335353537, 335353557, 335353573, 335353575, 335353577, 335353733, 335353735, 335353737, 335353753, 335353755, 335353757, 335353773, 335353775, 335353777, 335355337, 335355357, 335355373, 335355375, 335355377, 335355537, 335355557, 335355573, 335355575, 335355577, 335355733, 335355735, 335355737, 335355753, 335355755, 335355757, 335355773, 335355775, 335355777, 335357333, 335357335, 335357337, 335357353, 335357355, 335357357, 335357373, 335357375, 335357377, 335357533, 335357535, 335357537, 335357553, 335357555, 335357557, 335357573, 335357575, 335357577, 335357733, 335357735, 335357737, 335357753, 335357755, 335357757, 335357773, 335357775, 335357777, 335373333, 335373335, 335373337, 335373353, 335373355, 335373357, 335373373, 335373375, 335373377, 335373533, 335373535, 335373537, 335373553, 335373555, 335373557, 335373573, 335373575, 335373577, 335373733, 335373735, 335373737, 335373753, 335373755, 335373757, 335373773, 335373775, 335373777, 335375333, 335375335, 335375337, 335375353, 335375355, 335375357, 335375373, 335375375, 335375377, 335375533, 335375535, 335375537, 335375553, 335375555, 335375557, 335375573, 335375575, 335375577, 335375733, 335375735, 335375737, 335375753, 335375755, 335375757, 335375773, 335375775, 335375777, 335377333, 335377335, 335377337, 335377353, 335377355, 335377357, 335377373, 335377375, 335377377, 335377533, 335377535, 335377537, 335377553, 335377555, 335377557, 335377573, 335377575, 335377577, 335377733, 335377735, 335377737, 335377753, 335377755, 335377757, 335377773, 335377775, 335377777, 335533337, 335533357, 335533373, 335533375, 335533377, 335533537, 335533557, 335533573, 335533575, 335533577, 335533733, 335533735, 335533737, 335533753, 335533755, 335533757, 335533773, 335533775, 335533777, 335535337, 335535357, 335535373, 335535375, 335535377, 335535537, 335535557, 335535573, 335535575, 335535577, 335535733, 335535735, 335535737, 335535753, 335535755, 335535757, 335535773, 335535775, 335535777, 335537333, 335537335, 335537337, 335537353, 335537355, 335537357, 335537373, 335537375, 335537377, 335537533, 335537535, 335537537, 335537553, 335537555, 335537557, 335537573, 335537575, 335537577, 335537733, 335537735, 335537737, 335537753, 335537755, 335537757, 335537773, 335537775, 335537777, 335553337, 335553357, 335553373, 335553375, 335553377, 335553537, 335553557, 335553573, 335553575, 335553577, 335553733, 335553735, 335553737, 335553753, 335553755, 335553757, 335553773, 335553775, 335553777, 335555337, 335555357, 335555373, 335555375, 335555377, 335555537, 335555557, 335555573, 335555575, 335555577, 335555733, 335555735, 335555737, 335555753, 335555755, 335555757, 335555773, 335555775, 335555777, 335557333, 335557335, 335557337, 335557353, 335557355, 335557357, 335557373, 335557375, 335557377, 335557533, 335557535, 335557537, 335557553, 335557555, 335557557, 335557573, 335557575, 335557577, 335557733, 335557735, 335557737, 335557753, 335557755, 335557757, 335557773, 335557775, 335557777, 335573333, 335573335, 335573337, 335573353, 335573355, 335573357, 335573373, 335573375, 335573377, 335573533, 335573535, 335573537, 335573553, 335573555, 335573557, 335573573, 335573575, 335573577, 335573733, 335573735, 335573737, 335573753, 335573755, 335573757, 335573773, 335573775, 335573777, 335575333, 335575335, 335575337, 335575353, 335575355, 335575357, 335575373, 335575375, 335575377, 335575533, 335575535, 335575537, 335575553, 335575555, 335575557, 335575573, 335575575, 335575577, 335575733, 335575735, 335575737, 335575753, 335575755, 335575757, 335575773, 335575775, 335575777, 335577333, 335577335, 335577337, 335577353, 335577355, 335577357, 335577373, 335577375, 335577377, 335577533, 335577535, 335577537, 335577553, 335577555, 335577557, 335577573, 335577575, 335577577, 335577733, 335577735, 335577737, 335577753, 335577755, 335577757, 335577773, 335577775, 335577777, 335733333, 335733335, 335733337, 335733353, 335733355, 335733357, 335733373, 335733375, 335733377, 335733533, 335733535, 335733537, 335733553, 335733555, 335733557, 335733573, 335733575, 335733577, 335733733, 335733735, 335733737, 335733753, 335733755, 335733757, 335733773, 335733775, 335733777, 335735333, 335735335, 335735337, 335735353, 335735355, 335735357, 335735373, 335735375, 335735377, 335735533, 335735535, 335735537, 335735553, 335735555, 335735557, 335735573, 335735575, 335735577, 335735733, 335735735, 335735737, 335735753, 335735755, 335735757, 335735773, 335735775, 335735777, 335737333, 335737335, 335737337, 335737353, 335737355, 335737357, 335737373, 335737375, 335737377, 335737533, 335737535, 335737537, 335737553, 335737555, 335737557, 335737573, 335737575, 335737577, 335737733, 335737735, 335737737, 335737753, 335737755, 335737757, 335737773, 335737775, 335737777, 335753333, 335753335, 335753337, 335753353, 335753355, 335753357, 335753373, 335753375, 335753377, 335753533, 335753535, 335753537, 335753553, 335753555, 335753557, 335753573, 335753575, 335753577, 335753733, 335753735, 335753737, 335753753, 335753755, 335753757, 335753773, 335753775, 335753777, 335755333, 335755335, 335755337, 335755353, 335755355, 335755357, 335755373, 335755375, 335755377, 335755533, 335755535, 335755537, 335755553, 335755555, 335755557, 335755573, 335755575, 335755577, 335755733, 335755735, 335755737, 335755753, 335755755, 335755757, 335755773, 335755775, 335755777, 335757333, 335757335, 335757337, 335757353, 335757355, 335757357, 335757373, 335757375, 335757377, 335757533, 335757535, 335757537, 335757553, 335757555, 335757557, 335757573, 335757575, 335757577, 335757733, 335757735, 335757737, 335757753, 335757755, 335757757, 335757773, 335757775, 335757777, 335773333, 335773335, 335773337, 335773353, 335773355, 335773357, 335773373, 335773375, 335773377, 335773533, 335773535, 335773537, 335773553, 335773555, 335773557, 335773573, 335773575, 335773577, 335773733, 335773735, 335773737, 335773753, 335773755, 335773757, 335773773, 335773775, 335773777, 335775333, 335775335, 335775337, 335775353, 335775355, 335775357, 335775373, 335775375, 335775377, 335775533, 335775535, 335775537, 335775553, 335775555, 335775557, 335775573, 335775575, 335775577, 335775733, 335775735, 335775737, 335775753, 335775755, 335775757, 335775773, 335775775, 335775777, 335777333, 335777335, 335777337, 335777353, 335777355, 335777357, 335777373, 335777375, 335777377, 335777533, 335777535, 335777537, 335777553, 335777555, 335777557, 335777573, 335777575, 335777577, 335777733, 335777735, 335777737, 335777753, 335777755, 335777757, 335777773, 335777775, 335777777, 337333335, 337333353, 337333355, 337333357, 337333375, 337333533, 337333535, 337333537, 337333553, 337333555, 337333557, 337333573, 337333575, 337333577, 337333735, 337333753, 337333755, 337333757, 337333775, 337335333, 337335335, 337335337, 337335353, 337335355, 337335357, 337335373, 337335375, 337335377, 337335533, 337335535, 337335537, 337335553, 337335555, 337335557, 337335573, 337335575, 337335577, 337335733, 337335735, 337335737, 337335753, 337335755, 337335757, 337335773, 337335775, 337335777, 337337335, 337337353, 337337355, 337337357, 337337375, 337337533, 337337535, 337337537, 337337553, 337337555, 337337557, 337337573, 337337575, 337337577, 337337735, 337337753, 337337755, 337337757, 337337775, 337353333, 337353335, 337353337, 337353353, 337353355, 337353357, 337353373, 337353375, 337353377, 337353533, 337353535, 337353537, 337353553, 337353555, 337353557, 337353573, 337353575, 337353577, 337353733, 337353735, 337353737, 337353753, 337353755, 337353757, 337353773, 337353775, 337353777, 337355333, 337355335, 337355337, 337355353, 337355355, 337355357, 337355373, 337355375, 337355377, 337355533, 337355535, 337355537, 337355553, 337355555, 337355557, 337355573, 337355575, 337355577, 337355733, 337355735, 337355737, 337355753, 337355755, 337355757, 337355773, 337355775, 337355777, 337357333, 337357335, 337357337, 337357353, 337357355, 337357357, 337357373, 337357375, 337357377, 337357533, 337357535, 337357537, 337357553, 337357555, 337357557, 337357573, 337357575, 337357577, 337357733, 337357735, 337357737, 337357753, 337357755, 337357757, 337357773, 337357775, 337357777, 337373335, 337373353, 337373355, 337373357, 337373375, 337373533, 337373535, 337373537, 337373553, 337373555, 337373557, 337373573, 337373575, 337373577, 337373735, 337373753, 337373755, 337373757, 337373775, 337375333, 337375335, 337375337, 337375353, 337375355, 337375357, 337375373, 337375375, 337375377, 337375533, 337375535, 337375537, 337375553, 337375555, 337375557, 337375573, 337375575, 337375577, 337375733, 337375735, 337375737, 337375753, 337375755, 337375757, 337375773, 337375775, 337375777, 337377335, 337377353, 337377355, 337377357, 337377375, 337377533, 337377535, 337377537, 337377553, 337377555, 337377557, 337377573, 337377575, 337377577, 337377735, 337377753, 337377755, 337377757, 337377775, 337533333, 337533335, 337533337, 337533353, 337533355, 337533357, 337533373, 337533375, 337533377, 337533533, 337533535, 337533537, 337533553, 337533555, 337533557, 337533573, 337533575, 337533577, 337533733, 337533735, 337533737, 337533753, 337533755, 337533757, 337533773, 337533775, 337533777, 337535333, 337535335, 337535337, 337535353, 337535355, 337535357, 337535373, 337535375, 337535377, 337535533, 337535535, 337535537, 337535553, 337535555, 337535557, 337535573, 337535575, 337535577, 337535733, 337535735, 337535737, 337535753, 337535755, 337535757, 337535773, 337535775, 337535777, 337537333, 337537335, 337537337, 337537353, 337537355, 337537357, 337537373, 337537375, 337537377, 337537533, 337537535, 337537537, 337537553, 337537555, 337537557, 337537573, 337537575, 337537577, 337537733, 337537735, 337537737, 337537753, 337537755, 337537757, 337537773, 337537775, 337537777, 337553333, 337553335, 337553337, 337553353, 337553355, 337553357, 337553373, 337553375, 337553377, 337553533, 337553535, 337553537, 337553553, 337553555, 337553557, 337553573, 337553575, 337553577, 337553733, 337553735, 337553737, 337553753, 337553755, 337553757, 337553773, 337553775, 337553777, 337555333, 337555335, 337555337, 337555353, 337555355, 337555357, 337555373, 337555375, 337555377, 337555533, 337555535, 337555537, 337555553, 337555555, 337555557, 337555573, 337555575, 337555577, 337555733, 337555735, 337555737, 337555753, 337555755, 337555757, 337555773, 337555775, 337555777, 337557333, 337557335, 337557337, 337557353, 337557355, 337557357, 337557373, 337557375, 337557377, 337557533, 337557535, 337557537, 337557553, 337557555, 337557557, 337557573, 337557575, 337557577, 337557733, 337557735, 337557737, 337557753, 337557755, 337557757, 337557773, 337557775, 337557777, 337573333, 337573335, 337573337, 337573353, 337573355, 337573357, 337573373, 337573375, 337573377, 337573533, 337573535, 337573537, 337573553, 337573555, 337573557, 337573573, 337573575, 337573577, 337573733, 337573735, 337573737, 337573753, 337573755, 337573757, 337573773, 337573775, 337573777, 337575333, 337575335, 337575337, 337575353, 337575355, 337575357, 337575373, 337575375, 337575377, 337575533, 337575535, 337575537, 337575553, 337575555, 337575557, 337575573, 337575575, 337575577, 337575733, 337575735, 337575737, 337575753, 337575755, 337575757, 337575773, 337575775, 337575777, 337577333, 337577335, 337577337, 337577353, 337577355, 337577357, 337577373, 337577375, 337577377, 337577533, 337577535, 337577537, 337577553, 337577555, 337577557, 337577573, 337577575, 337577577, 337577733, 337577735, 337577737, 337577753, 337577755, 337577757, 337577773, 337577775, 337577777, 337733335, 337733353, 337733355, 337733357, 337733375, 337733533, 337733535, 337733537, 337733553, 337733555, 337733557, 337733573, 337733575, 337733577, 337733735, 337733753, 337733755, 337733757, 337733775, 337735333, 337735335, 337735337, 337735353, 337735355, 337735357, 337735373, 337735375, 337735377, 337735533, 337735535, 337735537, 337735553, 337735555, 337735557, 337735573, 337735575, 337735577, 337735733, 337735735, 337735737, 337735753, 337735755, 337735757, 337735773, 337735775, 337735777, 337737335, 337737353, 337737355, 337737357, 337737375, 337737533, 337737535, 337737537, 337737553, 337737555, 337737557, 337737573, 337737575, 337737577, 337737735, 337737753, 337737755, 337737757, 337737775, 337753333, 337753335, 337753337, 337753353, 337753355, 337753357, 337753373, 337753375, 337753377, 337753533, 337753535, 337753537, 337753553, 337753555, 337753557, 337753573, 337753575, 337753577, 337753733, 337753735, 337753737, 337753753, 337753755, 337753757, 337753773, 337753775, 337753777, 337755333, 337755335, 337755337, 337755353, 337755355, 337755357, 337755373, 337755375, 337755377, 337755533, 337755535, 337755537, 337755553, 337755555, 337755557, 337755573, 337755575, 337755577, 337755733, 337755735, 337755737, 337755753, 337755755, 337755757, 337755773, 337755775, 337755777, 337757333, 337757335, 337757337, 337757353, 337757355, 337757357, 337757373, 337757375, 337757377, 337757533, 337757535, 337757537, 337757553, 337757555, 337757557, 337757573, 337757575, 337757577, 337757733, 337757735, 337757737, 337757753, 337757755, 337757757, 337757773, 337757775, 337757777, 337773335, 337773353, 337773355, 337773357, 337773375, 337773533, 337773535, 337773537, 337773553, 337773555, 337773557, 337773573, 337773575, 337773577, 337773735, 337773753, 337773755, 337773757, 337773775, 337775333, 337775335, 337775337, 337775353, 337775355, 337775357, 337775373, 337775375, 337775377, 337775533, 337775535, 337775537, 337775553, 337775555, 337775557, 337775573, 337775575, 337775577, 337775733, 337775735, 337775737, 337775753, 337775755, 337775757, 337775773, 337775775, 337775777, 337777335, 337777353, 337777355, 337777357, 337777375, 337777533, 337777535, 337777537, 337777553, 337777555, 337777557, 337777573, 337777575, 337777577, 337777735, 337777753, 337777755, 337777757, 337777775, 353333337, 353333357, 353333373, 353333375, 353333377, 353333537, 353333557, 353333573, 353333575, 353333577, 353333733, 353333735, 353333737, 353333753, 353333755, 353333757, 353333773, 353333775, 353333777, 353335337, 353335357, 353335373, 353335375, 353335377, 353335537, 353335557, 353335573, 353335575, 353335577, 353335733, 353335735, 353335737, 353335753, 353335755, 353335757, 353335773, 353335775, 353335777, 353337333, 353337335, 353337337, 353337353, 353337355, 353337357, 353337373, 353337375, 353337377, 353337533, 353337535, 353337537, 353337553, 353337555, 353337557, 353337573, 353337575, 353337577, 353337733, 353337735, 353337737, 353337753, 353337755, 353337757, 353337773, 353337775, 353337777, 353353337, 353353357, 353353373, 353353375, 353353377, 353353537, 353353557, 353353573, 353353575, 353353577, 353353733, 353353735, 353353737, 353353753, 353353755, 353353757, 353353773, 353353775, 353353777, 353355337, 353355357, 353355373, 353355375, 353355377, 353355537, 353355557, 353355573, 353355575, 353355577, 353355733, 353355735, 353355737, 353355753, 353355755, 353355757, 353355773, 353355775, 353355777, 353357333, 353357335, 353357337, 353357353, 353357355, 353357357, 353357373, 353357375, 353357377, 353357533, 353357535, 353357537, 353357553, 353357555, 353357557, 353357573, 353357575, 353357577, 353357733, 353357735, 353357737, 353357753, 353357755, 353357757, 353357773, 353357775, 353357777, 353373333, 353373335, 353373337, 353373353, 353373355, 353373357, 353373373, 353373375, 353373377, 353373533, 353373535, 353373537, 353373553, 353373555, 353373557, 353373573, 353373575, 353373577, 353373733, 353373735, 353373737, 353373753, 353373755, 353373757, 353373773, 353373775, 353373777, 353375333, 353375335, 353375337, 353375353, 353375355, 353375357, 353375373, 353375375, 353375377, 353375533, 353375535, 353375537, 353375553, 353375555, 353375557, 353375573, 353375575, 353375577, 353375733, 353375735, 353375737, 353375753, 353375755, 353375757, 353375773, 353375775, 353375777, 353377333, 353377335, 353377337, 353377353, 353377355, 353377357, 353377373, 353377375, 353377377, 353377533, 353377535, 353377537, 353377553, 353377555, 353377557, 353377573, 353377575, 353377577, 353377733, 353377735, 353377737, 353377753, 353377755, 353377757, 353377773, 353377775, 353377777, 353533337, 353533357, 353533373, 353533375, 353533377, 353533537, 353533557, 353533573, 353533575, 353533577, 353533733, 353533735, 353533737, 353533753, 353533755, 353533757, 353533773, 353533775, 353533777, 353535337, 353535357, 353535373, 353535375, 353535377, 353535537, 353535557, 353535573, 353535575, 353535577, 353535733, 353535735, 353535737, 353535753, 353535755, 353535757, 353535773, 353535775, 353535777, 353537333, 353537335, 353537337, 353537353, 353537355, 353537357, 353537373, 353537375, 353537377, 353537533, 353537535, 353537537, 353537553, 353537555, 353537557, 353537573, 353537575, 353537577, 353537733, 353537735, 353537737, 353537753, 353537755, 353537757, 353537773, 353537775, 353537777, 353553337, 353553357, 353553373, 353553375, 353553377, 353553537, 353553557, 353553573, 353553575, 353553577, 353553733, 353553735, 353553737, 353553753, 353553755, 353553757, 353553773, 353553775, 353553777, 353555337, 353555357, 353555373, 353555375, 353555377, 353555537, 353555557, 353555573, 353555575, 353555577, 353555733, 353555735, 353555737, 353555753, 353555755, 353555757, 353555773, 353555775, 353555777, 353557333, 353557335, 353557337, 353557353, 353557355, 353557357, 353557373, 353557375, 353557377, 353557533, 353557535, 353557537, 353557553, 353557555, 353557557, 353557573, 353557575, 353557577, 353557733, 353557735, 353557737, 353557753, 353557755, 353557757, 353557773, 353557775, 353557777, 353573333, 353573335, 353573337, 353573353, 353573355, 353573357, 353573373, 353573375, 353573377, 353573533, 353573535, 353573537, 353573553, 353573555, 353573557, 353573573, 353573575, 353573577, 353573733, 353573735, 353573737, 353573753, 353573755, 353573757, 353573773, 353573775, 353573777, 353575333, 353575335, 353575337, 353575353, 353575355, 353575357, 353575373, 353575375, 353575377, 353575533, 353575535, 353575537, 353575553, 353575555, 353575557, 353575573, 353575575, 353575577, 353575733, 353575735, 353575737, 353575753, 353575755, 353575757, 353575773, 353575775, 353575777, 353577333, 353577335, 353577337, 353577353, 353577355, 353577357, 353577373, 353577375, 353577377, 353577533, 353577535, 353577537, 353577553, 353577555, 353577557, 353577573, 353577575, 353577577, 353577733, 353577735, 353577737, 353577753, 353577755, 353577757, 353577773, 353577775, 353577777, 353733333, 353733335, 353733337, 353733353, 353733355, 353733357, 353733373, 353733375, 353733377, 353733533, 353733535, 353733537, 353733553, 353733555, 353733557, 353733573, 353733575, 353733577, 353733733, 353733735, 353733737, 353733753, 353733755, 353733757, 353733773, 353733775, 353733777, 353735333, 353735335, 353735337, 353735353, 353735355, 353735357, 353735373, 353735375, 353735377, 353735533, 353735535, 353735537, 353735553, 353735555, 353735557, 353735573, 353735575, 353735577, 353735733, 353735735, 353735737, 353735753, 353735755, 353735757, 353735773, 353735775, 353735777, 353737333, 353737335, 353737337, 353737353, 353737355, 353737357, 353737373, 353737375, 353737377, 353737533, 353737535, 353737537, 353737553, 353737555, 353737557, 353737573, 353737575, 353737577, 353737733, 353737735, 353737737, 353737753, 353737755, 353737757, 353737773, 353737775, 353737777, 353753333, 353753335, 353753337, 353753353, 353753355, 353753357, 353753373, 353753375, 353753377, 353753533, 353753535, 353753537, 353753553, 353753555, 353753557, 353753573, 353753575, 353753577, 353753733, 353753735, 353753737, 353753753, 353753755, 353753757, 353753773, 353753775, 353753777, 353755333, 353755335, 353755337, 353755353, 353755355, 353755357, 353755373, 353755375, 353755377, 353755533, 353755535, 353755537, 353755553, 353755555, 353755557, 353755573, 353755575, 353755577, 353755733, 353755735, 353755737, 353755753, 353755755, 353755757, 353755773, 353755775, 353755777, 353757333, 353757335, 353757337, 353757353, 353757355, 353757357, 353757373, 353757375, 353757377, 353757533, 353757535, 353757537, 353757553, 353757555, 353757557, 353757573, 353757575, 353757577, 353757733, 353757735, 353757737, 353757753, 353757755, 353757757, 353757773, 353757775, 353757777, 353773333, 353773335, 353773337, 353773353, 353773355, 353773357, 353773373, 353773375, 353773377, 353773533, 353773535, 353773537, 353773553, 353773555, 353773557, 353773573, 353773575, 353773577, 353773733, 353773735, 353773737, 353773753, 353773755, 353773757, 353773773, 353773775, 353773777, 353775333, 353775335, 353775337, 353775353, 353775355, 353775357, 353775373, 353775375, 353775377, 353775533, 353775535, 353775537, 353775553, 353775555, 353775557, 353775573, 353775575, 353775577, 353775733, 353775735, 353775737, 353775753, 353775755, 353775757, 353775773, 353775775, 353775777, 353777333, 353777335, 353777337, 353777353, 353777355, 353777357, 353777373, 353777375, 353777377, 353777533, 353777535, 353777537, 353777553, 353777555, 353777557, 353777573, 353777575, 353777577, 353777733, 353777735, 353777737, 353777753, 353777755, 353777757, 353777773, 353777775, 353777777, 355333337, 355333357, 355333373, 355333375, 355333377, 355333537, 355333557, 355333573, 355333575, 355333577, 355333733, 355333735, 355333737, 355333753, 355333755, 355333757, 355333773, 355333775, 355333777, 355335337, 355335357, 355335373, 355335375, 355335377, 355335537, 355335557, 355335573, 355335575, 355335577, 355335733, 355335735, 355335737, 355335753, 355335755, 355335757, 355335773, 355335775, 355335777, 355337333, 355337335, 355337337, 355337353, 355337355, 355337357, 355337373, 355337375, 355337377, 355337533, 355337535, 355337537, 355337553, 355337555, 355337557, 355337573, 355337575, 355337577, 355337733, 355337735, 355337737, 355337753, 355337755, 355337757, 355337773, 355337775, 355337777, 355353337, 355353357, 355353373, 355353375, 355353377, 355353537, 355353557, 355353573, 355353575, 355353577, 355353733, 355353735, 355353737, 355353753, 355353755, 355353757, 355353773, 355353775, 355353777, 355355337, 355355357, 355355373, 355355375, 355355377, 355355537, 355355557, 355355573, 355355575, 355355577, 355355733, 355355735, 355355737, 355355753, 355355755, 355355757, 355355773, 355355775, 355355777, 355357333, 355357335, 355357337, 355357353, 355357355, 355357357, 355357373, 355357375, 355357377, 355357533, 355357535, 355357537, 355357553, 355357555, 355357557, 355357573, 355357575, 355357577, 355357733, 355357735, 355357737, 355357753, 355357755, 355357757, 355357773, 355357775, 355357777, 355373333, 355373335, 355373337, 355373353, 355373355, 355373357, 355373373, 355373375, 355373377, 355373533, 355373535, 355373537, 355373553, 355373555, 355373557, 355373573, 355373575, 355373577, 355373733, 355373735, 355373737, 355373753, 355373755, 355373757, 355373773, 355373775, 355373777, 355375333, 355375335, 355375337, 355375353, 355375355, 355375357, 355375373, 355375375, 355375377, 355375533, 355375535, 355375537, 355375553, 355375555, 355375557, 355375573, 355375575, 355375577, 355375733, 355375735, 355375737, 355375753, 355375755, 355375757, 355375773, 355375775, 355375777, 355377333, 355377335, 355377337, 355377353, 355377355, 355377357, 355377373, 355377375, 355377377, 355377533, 355377535, 355377537, 355377553, 355377555, 355377557, 355377573, 355377575, 355377577, 355377733, 355377735, 355377737, 355377753, 355377755, 355377757, 355377773, 355377775, 355377777, 355533337, 355533357, 355533373, 355533375, 355533377, 355533537, 355533557, 355533573, 355533575, 355533577, 355533733, 355533735, 355533737, 355533753, 355533755, 355533757, 355533773, 355533775, 355533777, 355535337, 355535357, 355535373, 355535375, 355535377, 355535537, 355535557, 355535573, 355535575, 355535577, 355535733, 355535735, 355535737, 355535753, 355535755, 355535757, 355535773, 355535775, 355535777, 355537333, 355537335, 355537337, 355537353, 355537355, 355537357, 355537373, 355537375, 355537377, 355537533, 355537535, 355537537, 355537553, 355537555, 355537557, 355537573, 355537575, 355537577, 355537733, 355537735, 355537737, 355537753, 355537755, 355537757, 355537773, 355537775, 355537777, 355553337, 355553357, 355553373, 355553375, 355553377, 355553537, 355553557, 355553573, 355553575, 355553577, 355553733, 355553735, 355553737, 355553753, 355553755, 355553757, 355553773, 355553775, 355553777, 355555337, 355555357, 355555373, 355555375, 355555377, 355555537, 355555557, 355555573, 355555575, 355555577, 355555733, 355555735, 355555737, 355555753, 355555755, 355555757, 355555773, 355555775, 355555777, 355557333, 355557335, 355557337, 355557353, 355557355, 355557357, 355557373, 355557375, 355557377, 355557533, 355557535, 355557537, 355557553, 355557555, 355557557, 355557573, 355557575, 355557577, 355557733, 355557735, 355557737, 355557753, 355557755, 355557757, 355557773, 355557775, 355557777, 355573333, 355573335, 355573337, 355573353, 355573355, 355573357, 355573373, 355573375, 355573377, 355573533, 355573535, 355573537, 355573553, 355573555, 355573557, 355573573, 355573575, 355573577, 355573733, 355573735, 355573737, 355573753, 355573755, 355573757, 355573773, 355573775, 355573777, 355575333, 355575335, 355575337, 355575353, 355575355, 355575357, 355575373, 355575375, 355575377, 355575533, 355575535, 355575537, 355575553, 355575555, 355575557, 355575573, 355575575, 355575577, 355575733, 355575735, 355575737, 355575753, 355575755, 355575757, 355575773, 355575775, 355575777, 355577333, 355577335, 355577337, 355577353, 355577355, 355577357, 355577373, 355577375, 355577377, 355577533, 355577535, 355577537, 355577553, 355577555, 355577557, 355577573, 355577575, 355577577, 355577733, 355577735, 355577737, 355577753, 355577755, 355577757, 355577773, 355577775, 355577777, 355733333, 355733335, 355733337, 355733353, 355733355, 355733357, 355733373, 355733375, 355733377, 355733533, 355733535, 355733537, 355733553, 355733555, 355733557, 355733573, 355733575, 355733577, 355733733, 355733735, 355733737, 355733753, 355733755, 355733757, 355733773, 355733775, 355733777, 355735333, 355735335, 355735337, 355735353, 355735355, 355735357, 355735373, 355735375, 355735377, 355735533, 355735535, 355735537, 355735553, 355735555, 355735557, 355735573, 355735575, 355735577, 355735733, 355735735, 355735737, 355735753, 355735755, 355735757, 355735773, 355735775, 355735777, 355737333, 355737335, 355737337, 355737353, 355737355, 355737357, 355737373, 355737375, 355737377, 355737533, 355737535, 355737537, 355737553, 355737555, 355737557, 355737573, 355737575, 355737577, 355737733, 355737735, 355737737, 355737753, 355737755, 355737757, 355737773, 355737775, 355737777, 355753333, 355753335, 355753337, 355753353, 355753355, 355753357, 355753373, 355753375, 355753377, 355753533, 355753535, 355753537, 355753553, 355753555, 355753557, 355753573, 355753575, 355753577, 355753733, 355753735, 355753737, 355753753, 355753755, 355753757, 355753773, 355753775, 355753777, 355755333, 355755335, 355755337, 355755353, 355755355, 355755357, 355755373, 355755375, 355755377, 355755533, 355755535, 355755537, 355755553, 355755555, 355755557, 355755573, 355755575, 355755577, 355755733, 355755735, 355755737, 355755753, 355755755, 355755757, 355755773, 355755775, 355755777, 355757333, 355757335, 355757337, 355757353, 355757355, 355757357, 355757373, 355757375, 355757377, 355757533, 355757535, 355757537, 355757553, 355757555, 355757557, 355757573, 355757575, 355757577, 355757733, 355757735, 355757737, 355757753, 355757755, 355757757, 355757773, 355757775, 355757777, 355773333, 355773335, 355773337, 355773353, 355773355, 355773357, 355773373, 355773375, 355773377, 355773533, 355773535, 355773537, 355773553, 355773555, 355773557, 355773573, 355773575, 355773577, 355773733, 355773735, 355773737, 355773753, 355773755, 355773757, 355773773, 355773775, 355773777, 355775333, 355775335, 355775337, 355775353, 355775355, 355775357, 355775373, 355775375, 355775377, 355775533, 355775535, 355775537, 355775553, 355775555, 355775557, 355775573, 355775575, 355775577, 355775733, 355775735, 355775737, 355775753, 355775755, 355775757, 355775773, 355775775, 355775777, 355777333, 355777335, 355777337, 355777353, 355777355, 355777357, 355777373, 355777375, 355777377, 355777533, 355777535, 355777537, 355777553, 355777555, 355777557, 355777573, 355777575, 355777577, 355777733, 355777735, 355777737, 355777753, 355777755, 355777757, 355777773, 355777775, 355777777, 357333333, 357333335, 357333337, 357333353, 357333355, 357333357, 357333373, 357333375, 357333377, 357333533, 357333535, 357333537, 357333553, 357333555, 357333557, 357333573, 357333575, 357333577, 357333733, 357333735, 357333737, 357333753, 357333755, 357333757, 357333773, 357333775, 357333777, 357335333, 357335335, 357335337, 357335353, 357335355, 357335357, 357335373, 357335375, 357335377, 357335533, 357335535, 357335537, 357335553, 357335555, 357335557, 357335573, 357335575, 357335577, 357335733, 357335735, 357335737, 357335753, 357335755, 357335757, 357335773, 357335775, 357335777, 357337333, 357337335, 357337337, 357337353, 357337355, 357337357, 357337373, 357337375, 357337377, 357337533, 357337535, 357337537, 357337553, 357337555, 357337557, 357337573, 357337575, 357337577, 357337733, 357337735, 357337737, 357337753, 357337755, 357337757, 357337773, 357337775, 357337777, 357353333, 357353335, 357353337, 357353353, 357353355, 357353357, 357353373, 357353375, 357353377, 357353533, 357353535, 357353537, 357353553, 357353555, 357353557, 357353573, 357353575, 357353577, 357353733, 357353735, 357353737, 357353753, 357353755, 357353757, 357353773, 357353775, 357353777, 357355333, 357355335, 357355337, 357355353, 357355355, 357355357, 357355373, 357355375, 357355377, 357355533, 357355535, 357355537, 357355553, 357355555, 357355557, 357355573, 357355575, 357355577, 357355733, 357355735, 357355737, 357355753, 357355755, 357355757, 357355773, 357355775, 357355777, 357357333, 357357335, 357357337, 357357353, 357357355, 357357357, 357357373, 357357375, 357357377, 357357533, 357357535, 357357537, 357357553, 357357555, 357357557, 357357573, 357357575, 357357577, 357357733, 357357735, 357357737, 357357753, 357357755, 357357757, 357357773, 357357775, 357357777, 357373333, 357373335, 357373337, 357373353, 357373355, 357373357, 357373373, 357373375, 357373377, 357373533, 357373535, 357373537, 357373553, 357373555, 357373557, 357373573, 357373575, 357373577, 357373733, 357373735, 357373737, 357373753, 357373755, 357373757, 357373773, 357373775, 357373777, 357375333, 357375335, 357375337, 357375353, 357375355, 357375357, 357375373, 357375375, 357375377, 357375533, 357375535, 357375537, 357375553, 357375555, 357375557, 357375573, 357375575, 357375577, 357375733, 357375735, 357375737, 357375753, 357375755, 357375757, 357375773, 357375775, 357375777, 357377333, 357377335, 357377337, 357377353, 357377355, 357377357, 357377373, 357377375, 357377377, 357377533, 357377535, 357377537, 357377553, 357377555, 357377557, 357377573, 357377575, 357377577, 357377733, 357377735, 357377737, 357377753, 357377755, 357377757, 357377773, 357377775, 357377777, 357533333, 357533335, 357533337, 357533353, 357533355, 357533357, 357533373, 357533375, 357533377, 357533533, 357533535, 357533537, 357533553, 357533555, 357533557, 357533573, 357533575, 357533577, 357533733, 357533735, 357533737, 357533753, 357533755, 357533757, 357533773, 357533775, 357533777, 357535333, 357535335, 357535337, 357535353, 357535355, 357535357, 357535373, 357535375, 357535377, 357535533, 357535535, 357535537, 357535553, 357535555, 357535557, 357535573, 357535575, 357535577, 357535733, 357535735, 357535737, 357535753, 357535755, 357535757, 357535773, 357535775, 357535777, 357537333, 357537335, 357537337, 357537353, 357537355, 357537357, 357537373, 357537375, 357537377, 357537533, 357537535, 357537537, 357537553, 357537555, 357537557, 357537573, 357537575, 357537577, 357537733, 357537735, 357537737, 357537753, 357537755, 357537757, 357537773, 357537775, 357537777, 357553333, 357553335, 357553337, 357553353, 357553355, 357553357, 357553373, 357553375, 357553377, 357553533, 357553535, 357553537, 357553553, 357553555, 357553557, 357553573, 357553575, 357553577, 357553733, 357553735, 357553737, 357553753, 357553755, 357553757, 357553773, 357553775, 357553777, 357555333, 357555335, 357555337, 357555353, 357555355, 357555357, 357555373, 357555375, 357555377, 357555533, 357555535, 357555537, 357555553, 357555555, 357555557, 357555573, 357555575, 357555577, 357555733, 357555735, 357555737, 357555753, 357555755, 357555757, 357555773, 357555775, 357555777, 357557333, 357557335, 357557337, 357557353, 357557355, 357557357, 357557373, 357557375, 357557377, 357557533, 357557535, 357557537, 357557553, 357557555, 357557557, 357557573, 357557575, 357557577, 357557733, 357557735, 357557737, 357557753, 357557755, 357557757, 357557773, 357557775, 357557777, 357573333, 357573335, 357573337, 357573353, 357573355, 357573357, 357573373, 357573375, 357573377, 357573533, 357573535, 357573537, 357573553, 357573555, 357573557, 357573573, 357573575, 357573577, 357573733, 357573735, 357573737, 357573753, 357573755, 357573757, 357573773, 357573775, 357573777, 357575333, 357575335, 357575337, 357575353, 357575355, 357575357, 357575373, 357575375, 357575377, 357575533, 357575535, 357575537, 357575553, 357575555, 357575557, 357575573, 357575575, 357575577, 357575733, 357575735, 357575737, 357575753, 357575755, 357575757, 357575773, 357575775, 357575777, 357577333, 357577335, 357577337, 357577353, 357577355, 357577357, 357577373, 357577375, 357577377, 357577533, 357577535, 357577537, 357577553, 357577555, 357577557, 357577573, 357577575, 357577577, 357577733, 357577735, 357577737, 357577753, 357577755, 357577757, 357577773, 357577775, 357577777, 357733333, 357733335, 357733337, 357733353, 357733355, 357733357, 357733373, 357733375, 357733377, 357733533, 357733535, 357733537, 357733553, 357733555, 357733557, 357733573, 357733575, 357733577, 357733733, 357733735, 357733737, 357733753, 357733755, 357733757, 357733773, 357733775, 357733777, 357735333, 357735335, 357735337, 357735353, 357735355, 357735357, 357735373, 357735375, 357735377, 357735533, 357735535, 357735537, 357735553, 357735555, 357735557, 357735573, 357735575, 357735577, 357735733, 357735735, 357735737, 357735753, 357735755, 357735757, 357735773, 357735775, 357735777, 357737333, 357737335, 357737337, 357737353, 357737355, 357737357, 357737373, 357737375, 357737377, 357737533, 357737535, 357737537, 357737553, 357737555, 357737557, 357737573, 357737575, 357737577, 357737733, 357737735, 357737737, 357737753, 357737755, 357737757, 357737773, 357737775, 357737777, 357753333, 357753335, 357753337, 357753353, 357753355, 357753357, 357753373, 357753375, 357753377, 357753533, 357753535, 357753537, 357753553, 357753555, 357753557, 357753573, 357753575, 357753577, 357753733, 357753735, 357753737, 357753753, 357753755, 357753757, 357753773, 357753775, 357753777, 357755333, 357755335, 357755337, 357755353, 357755355, 357755357, 357755373, 357755375, 357755377, 357755533, 357755535, 357755537, 357755553, 357755555, 357755557, 357755573, 357755575, 357755577, 357755733, 357755735, 357755737, 357755753, 357755755, 357755757, 357755773, 357755775, 357755777, 357757333, 357757335, 357757337, 357757353, 357757355, 357757357, 357757373, 357757375, 357757377, 357757533, 357757535, 357757537, 357757553, 357757555, 357757557, 357757573, 357757575, 357757577, 357757733, 357757735, 357757737, 357757753, 357757755, 357757757, 357757773, 357757775, 357757777, 357773333, 357773335, 357773337, 357773353, 357773355, 357773357, 357773373, 357773375, 357773377, 357773533, 357773535, 357773537, 357773553, 357773555, 357773557, 357773573, 357773575, 357773577, 357773733, 357773735, 357773737, 357773753, 357773755, 357773757, 357773773, 357773775, 357773777, 357775333, 357775335, 357775337, 357775353, 357775355, 357775357, 357775373, 357775375, 357775377, 357775533, 357775535, 357775537, 357775553, 357775555, 357775557, 357775573, 357775575, 357775577, 357775733, 357775735, 357775737, 357775753, 357775755, 357775757, 357775773, 357775775, 357775777, 357777333, 357777335, 357777337, 357777353, 357777355, 357777357, 357777373, 357777375, 357777377, 357777533, 357777535, 357777537, 357777553, 357777555, 357777557, 357777573, 357777575, 357777577, 357777733, 357777735, 357777737, 357777753, 357777755, 357777757, 357777773, 357777775, 357777777, 373333335, 373333353, 373333355, 373333357, 373333375, 373333533, 373333535, 373333537, 373333553, 373333555, 373333557, 373333573, 373333575, 373333577, 373333735, 373333753, 373333755, 373333757, 373333775, 373335333, 373335335, 373335337, 373335353, 373335355, 373335357, 373335373, 373335375, 373335377, 373335533, 373335535, 373335537, 373335553, 373335555, 373335557, 373335573, 373335575, 373335577, 373335733, 373335735, 373335737, 373335753, 373335755, 373335757, 373335773, 373335775, 373335777, 373337335, 373337353, 373337355, 373337357, 373337375, 373337533, 373337535, 373337537, 373337553, 373337555, 373337557, 373337573, 373337575, 373337577, 373337735, 373337753, 373337755, 373337757, 373337775, 373353333, 373353335, 373353337, 373353353, 373353355, 373353357, 373353373, 373353375, 373353377, 373353533, 373353535, 373353537, 373353553, 373353555, 373353557, 373353573, 373353575, 373353577, 373353733, 373353735, 373353737, 373353753, 373353755, 373353757, 373353773, 373353775, 373353777, 373355333, 373355335, 373355337, 373355353, 373355355, 373355357, 373355373, 373355375, 373355377, 373355533, 373355535, 373355537, 373355553, 373355555, 373355557, 373355573, 373355575, 373355577, 373355733, 373355735, 373355737, 373355753, 373355755, 373355757, 373355773, 373355775, 373355777, 373357333, 373357335, 373357337, 373357353, 373357355, 373357357, 373357373, 373357375, 373357377, 373357533, 373357535, 373357537, 373357553, 373357555, 373357557, 373357573, 373357575, 373357577, 373357733, 373357735, 373357737, 373357753, 373357755, 373357757, 373357773, 373357775, 373357777, 373373335, 373373353, 373373355, 373373357, 373373375, 373373533, 373373535, 373373537, 373373553, 373373555, 373373557, 373373573, 373373575, 373373577, 373373735, 373373753, 373373755, 373373757, 373373775, 373375333, 373375335, 373375337, 373375353, 373375355, 373375357, 373375373, 373375375, 373375377, 373375533, 373375535, 373375537, 373375553, 373375555, 373375557, 373375573, 373375575, 373375577, 373375733, 373375735, 373375737, 373375753, 373375755, 373375757, 373375773, 373375775, 373375777, 373377335, 373377353, 373377355, 373377357, 373377375, 373377533, 373377535, 373377537, 373377553, 373377555, 373377557, 373377573, 373377575, 373377577, 373377735, 373377753, 373377755, 373377757, 373377775, 373533333, 373533335, 373533337, 373533353, 373533355, 373533357, 373533373, 373533375, 373533377, 373533533, 373533535, 373533537, 373533553, 373533555, 373533557, 373533573, 373533575, 373533577, 373533733, 373533735, 373533737, 373533753, 373533755, 373533757, 373533773, 373533775, 373533777, 373535333, 373535335, 373535337, 373535353, 373535355, 373535357, 373535373, 373535375, 373535377, 373535533, 373535535, 373535537, 373535553, 373535555, 373535557, 373535573, 373535575, 373535577, 373535733, 373535735, 373535737, 373535753, 373535755, 373535757, 373535773, 373535775, 373535777, 373537333, 373537335, 373537337, 373537353, 373537355, 373537357, 373537373, 373537375, 373537377, 373537533, 373537535, 373537537, 373537553, 373537555, 373537557, 373537573, 373537575, 373537577, 373537733, 373537735, 373537737, 373537753, 373537755, 373537757, 373537773, 373537775, 373537777, 373553333, 373553335, 373553337, 373553353, 373553355, 373553357, 373553373, 373553375, 373553377, 373553533, 373553535, 373553537, 373553553, 373553555, 373553557, 373553573, 373553575, 373553577, 373553733, 373553735, 373553737, 373553753, 373553755, 373553757, 373553773, 373553775, 373553777, 373555333, 373555335, 373555337, 373555353, 373555355, 373555357, 373555373, 373555375, 373555377, 373555533, 373555535, 373555537, 373555553, 373555555, 373555557, 373555573, 373555575, 373555577, 373555733, 373555735, 373555737, 373555753, 373555755, 373555757, 373555773, 373555775, 373555777, 373557333, 373557335, 373557337, 373557353, 373557355, 373557357, 373557373, 373557375, 373557377, 373557533, 373557535, 373557537, 373557553, 373557555, 373557557, 373557573, 373557575, 373557577, 373557733, 373557735, 373557737, 373557753, 373557755, 373557757, 373557773, 373557775, 373557777, 373573333, 373573335, 373573337, 373573353, 373573355, 373573357, 373573373, 373573375, 373573377, 373573533, 373573535, 373573537, 373573553, 373573555, 373573557, 373573573, 373573575, 373573577, 373573733, 373573735, 373573737, 373573753, 373573755, 373573757, 373573773, 373573775, 373573777, 373575333, 373575335, 373575337, 373575353, 373575355, 373575357, 373575373, 373575375, 373575377, 373575533, 373575535, 373575537, 373575553, 373575555, 373575557, 373575573, 373575575, 373575577, 373575733, 373575735, 373575737, 373575753, 373575755, 373575757, 373575773, 373575775, 373575777, 373577333, 373577335, 373577337, 373577353, 373577355, 373577357, 373577373, 373577375, 373577377, 373577533, 373577535, 373577537, 373577553, 373577555, 373577557, 373577573, 373577575, 373577577, 373577733, 373577735, 373577737, 373577753, 373577755, 373577757, 373577773, 373577775, 373577777, 373733335, 373733353, 373733355, 373733357, 373733375, 373733533, 373733535, 373733537, 373733553, 373733555, 373733557, 373733573, 373733575, 373733577, 373733735, 373733753, 373733755, 373733757, 373733775, 373735333, 373735335, 373735337, 373735353, 373735355, 373735357, 373735373, 373735375, 373735377, 373735533, 373735535, 373735537, 373735553, 373735555, 373735557, 373735573, 373735575, 373735577, 373735733, 373735735, 373735737, 373735753, 373735755, 373735757, 373735773, 373735775, 373735777, 373737335, 373737353, 373737355, 373737357, 373737375, 373737533, 373737535, 373737537, 373737553, 373737555, 373737557, 373737573, 373737575, 373737577, 373737735, 373737753, 373737755, 373737757, 373737775, 373753333, 373753335, 373753337, 373753353, 373753355, 373753357, 373753373, 373753375, 373753377, 373753533, 373753535, 373753537, 373753553, 373753555, 373753557, 373753573, 373753575, 373753577, 373753733, 373753735, 373753737, 373753753, 373753755, 373753757, 373753773, 373753775, 373753777, 373755333, 373755335, 373755337, 373755353, 373755355, 373755357, 373755373, 373755375, 373755377, 373755533, 373755535, 373755537, 373755553, 373755555, 373755557, 373755573, 373755575, 373755577, 373755733, 373755735, 373755737, 373755753, 373755755, 373755757, 373755773, 373755775, 373755777, 373757333, 373757335, 373757337, 373757353, 373757355, 373757357, 373757373, 373757375, 373757377, 373757533, 373757535, 373757537, 373757553, 373757555, 373757557, 373757573, 373757575, 373757577, 373757733, 373757735, 373757737, 373757753, 373757755, 373757757, 373757773, 373757775, 373757777, 373773335, 373773353, 373773355, 373773357, 373773375, 373773533, 373773535, 373773537, 373773553, 373773555, 373773557, 373773573, 373773575, 373773577, 373773735, 373773753, 373773755, 373773757, 373773775, 373775333, 373775335, 373775337, 373775353, 373775355, 373775357, 373775373, 373775375, 373775377, 373775533, 373775535, 373775537, 373775553, 373775555, 373775557, 373775573, 373775575, 373775577, 373775733, 373775735, 373775737, 373775753, 373775755, 373775757, 373775773, 373775775, 373775777, 373777335, 373777353, 373777355, 373777357, 373777375, 373777533, 373777535, 373777537, 373777553, 373777555, 373777557, 373777573, 373777575, 373777577, 373777735, 373777753, 373777755, 373777757, 373777775, 375333333, 375333335, 375333337, 375333353, 375333355, 375333357, 375333373, 375333375, 375333377, 375333533, 375333535, 375333537, 375333553, 375333555, 375333557, 375333573, 375333575, 375333577, 375333733, 375333735, 375333737, 375333753, 375333755, 375333757, 375333773, 375333775, 375333777, 375335333, 375335335, 375335337, 375335353, 375335355, 375335357, 375335373, 375335375, 375335377, 375335533, 375335535, 375335537, 375335553, 375335555, 375335557, 375335573, 375335575, 375335577, 375335733, 375335735, 375335737, 375335753, 375335755, 375335757, 375335773, 375335775, 375335777, 375337333, 375337335, 375337337, 375337353, 375337355, 375337357, 375337373, 375337375, 375337377, 375337533, 375337535, 375337537, 375337553, 375337555, 375337557, 375337573, 375337575, 375337577, 375337733, 375337735, 375337737, 375337753, 375337755, 375337757, 375337773, 375337775, 375337777, 375353333, 375353335, 375353337, 375353353, 375353355, 375353357, 375353373, 375353375, 375353377, 375353533, 375353535, 375353537, 375353553, 375353555, 375353557, 375353573, 375353575, 375353577, 375353733, 375353735, 375353737, 375353753, 375353755, 375353757, 375353773, 375353775, 375353777, 375355333, 375355335, 375355337, 375355353, 375355355, 375355357, 375355373, 375355375, 375355377, 375355533, 375355535, 375355537, 375355553, 375355555, 375355557, 375355573, 375355575, 375355577, 375355733, 375355735, 375355737, 375355753, 375355755, 375355757, 375355773, 375355775, 375355777, 375357333, 375357335, 375357337, 375357353, 375357355, 375357357, 375357373, 375357375, 375357377, 375357533, 375357535, 375357537, 375357553, 375357555, 375357557, 375357573, 375357575, 375357577, 375357733, 375357735, 375357737, 375357753, 375357755, 375357757, 375357773, 375357775, 375357777, 375373333, 375373335, 375373337, 375373353, 375373355, 375373357, 375373373, 375373375, 375373377, 375373533, 375373535, 375373537, 375373553, 375373555, 375373557, 375373573, 375373575, 375373577, 375373733, 375373735, 375373737, 375373753, 375373755, 375373757, 375373773, 375373775, 375373777, 375375333, 375375335, 375375337, 375375353, 375375355, 375375357, 375375373, 375375375, 375375377, 375375533, 375375535, 375375537, 375375553, 375375555, 375375557, 375375573, 375375575, 375375577, 375375733, 375375735, 375375737, 375375753, 375375755, 375375757, 375375773, 375375775, 375375777, 375377333, 375377335, 375377337, 375377353, 375377355, 375377357, 375377373, 375377375, 375377377, 375377533, 375377535, 375377537, 375377553, 375377555, 375377557, 375377573, 375377575, 375377577, 375377733, 375377735, 375377737, 375377753, 375377755, 375377757, 375377773, 375377775, 375377777, 375533333, 375533335, 375533337, 375533353, 375533355, 375533357, 375533373, 375533375, 375533377, 375533533, 375533535, 375533537, 375533553, 375533555, 375533557, 375533573, 375533575, 375533577, 375533733, 375533735, 375533737, 375533753, 375533755, 375533757, 375533773, 375533775, 375533777, 375535333, 375535335, 375535337, 375535353, 375535355, 375535357, 375535373, 375535375, 375535377, 375535533, 375535535, 375535537, 375535553, 375535555, 375535557, 375535573, 375535575, 375535577, 375535733, 375535735, 375535737, 375535753, 375535755, 375535757, 375535773, 375535775, 375535777, 375537333, 375537335, 375537337, 375537353, 375537355, 375537357, 375537373, 375537375, 375537377, 375537533, 375537535, 375537537, 375537553, 375537555, 375537557, 375537573, 375537575, 375537577, 375537733, 375537735, 375537737, 375537753, 375537755, 375537757, 375537773, 375537775, 375537777, 375553333, 375553335, 375553337, 375553353, 375553355, 375553357, 375553373, 375553375, 375553377, 375553533, 375553535, 375553537, 375553553, 375553555, 375553557, 375553573, 375553575, 375553577, 375553733, 375553735, 375553737, 375553753, 375553755, 375553757, 375553773, 375553775, 375553777, 375555333, 375555335, 375555337, 375555353, 375555355, 375555357, 375555373, 375555375, 375555377, 375555533, 375555535, 375555537, 375555553, 375555555, 375555557, 375555573, 375555575, 375555577, 375555733, 375555735, 375555737, 375555753, 375555755, 375555757, 375555773, 375555775, 375555777, 375557333, 375557335, 375557337, 375557353, 375557355, 375557357, 375557373, 375557375, 375557377, 375557533, 375557535, 375557537, 375557553, 375557555, 375557557, 375557573, 375557575, 375557577, 375557733, 375557735, 375557737, 375557753, 375557755, 375557757, 375557773, 375557775, 375557777, 375573333, 375573335, 375573337, 375573353, 375573355, 375573357, 375573373, 375573375, 375573377, 375573533, 375573535, 375573537, 375573553, 375573555, 375573557, 375573573, 375573575, 375573577, 375573733, 375573735, 375573737, 375573753, 375573755, 375573757, 375573773, 375573775, 375573777, 375575333, 375575335, 375575337, 375575353, 375575355, 375575357, 375575373, 375575375, 375575377, 375575533, 375575535, 375575537, 375575553, 375575555, 375575557, 375575573, 375575575, 375575577, 375575733, 375575735, 375575737, 375575753, 375575755, 375575757, 375575773, 375575775, 375575777, 375577333, 375577335, 375577337, 375577353, 375577355, 375577357, 375577373, 375577375, 375577377, 375577533, 375577535, 375577537, 375577553, 375577555, 375577557, 375577573, 375577575, 375577577, 375577733, 375577735, 375577737, 375577753, 375577755, 375577757, 375577773, 375577775, 375577777, 375733333, 375733335, 375733337, 375733353, 375733355, 375733357, 375733373, 375733375, 375733377, 375733533, 375733535, 375733537, 375733553, 375733555, 375733557, 375733573, 375733575, 375733577, 375733733, 375733735, 375733737, 375733753, 375733755, 375733757, 375733773, 375733775, 375733777, 375735333, 375735335, 375735337, 375735353, 375735355, 375735357, 375735373, 375735375, 375735377, 375735533, 375735535, 375735537, 375735553, 375735555, 375735557, 375735573, 375735575, 375735577, 375735733, 375735735, 375735737, 375735753, 375735755, 375735757, 375735773, 375735775, 375735777, 375737333, 375737335, 375737337, 375737353, 375737355, 375737357, 375737373, 375737375, 375737377, 375737533, 375737535, 375737537, 375737553, 375737555, 375737557, 375737573, 375737575, 375737577, 375737733, 375737735, 375737737, 375737753, 375737755, 375737757, 375737773, 375737775, 375737777, 375753333, 375753335, 375753337, 375753353, 375753355, 375753357, 375753373, 375753375, 375753377, 375753533, 375753535, 375753537, 375753553, 375753555, 375753557, 375753573, 375753575, 375753577, 375753733, 375753735, 375753737, 375753753, 375753755, 375753757, 375753773, 375753775, 375753777, 375755333, 375755335, 375755337, 375755353, 375755355, 375755357, 375755373, 375755375, 375755377, 375755533, 375755535, 375755537, 375755553, 375755555, 375755557, 375755573, 375755575, 375755577, 375755733, 375755735, 375755737, 375755753, 375755755, 375755757, 375755773, 375755775, 375755777, 375757333, 375757335, 375757337, 375757353, 375757355, 375757357, 375757373, 375757375, 375757377, 375757533, 375757535, 375757537, 375757553, 375757555, 375757557, 375757573, 375757575, 375757577, 375757733, 375757735, 375757737, 375757753, 375757755, 375757757, 375757773, 375757775, 375757777, 375773333, 375773335, 375773337, 375773353, 375773355, 375773357, 375773373, 375773375, 375773377, 375773533, 375773535, 375773537, 375773553, 375773555, 375773557, 375773573, 375773575, 375773577, 375773733, 375773735, 375773737, 375773753, 375773755, 375773757, 375773773, 375773775, 375773777, 375775333, 375775335, 375775337, 375775353, 375775355, 375775357, 375775373, 375775375, 375775377, 375775533, 375775535, 375775537, 375775553, 375775555, 375775557, 375775573, 375775575, 375775577, 375775733, 375775735, 375775737, 375775753, 375775755, 375775757, 375775773, 375775775, 375775777, 375777333, 375777335, 375777337, 375777353, 375777355, 375777357, 375777373, 375777375, 375777377, 375777533, 375777535, 375777537, 375777553, 375777555, 375777557, 375777573, 375777575, 375777577, 375777733, 375777735, 375777737, 375777753, 375777755, 375777757, 375777773, 375777775, 375777777, 377333335, 377333353, 377333355, 377333357, 377333375, 377333533, 377333535, 377333537, 377333553, 377333555, 377333557, 377333573, 377333575, 377333577, 377333735, 377333753, 377333755, 377333757, 377333775, 377335333, 377335335, 377335337, 377335353, 377335355, 377335357, 377335373, 377335375, 377335377, 377335533, 377335535, 377335537, 377335553, 377335555, 377335557, 377335573, 377335575, 377335577, 377335733, 377335735, 377335737, 377335753, 377335755, 377335757, 377335773, 377335775, 377335777, 377337335, 377337353, 377337355, 377337357, 377337375, 377337533, 377337535, 377337537, 377337553, 377337555, 377337557, 377337573, 377337575, 377337577, 377337735, 377337753, 377337755, 377337757, 377337775, 377353333, 377353335, 377353337, 377353353, 377353355, 377353357, 377353373, 377353375, 377353377, 377353533, 377353535, 377353537, 377353553, 377353555, 377353557, 377353573, 377353575, 377353577, 377353733, 377353735, 377353737, 377353753, 377353755, 377353757, 377353773, 377353775, 377353777, 377355333, 377355335, 377355337, 377355353, 377355355, 377355357, 377355373, 377355375, 377355377, 377355533, 377355535, 377355537, 377355553, 377355555, 377355557, 377355573, 377355575, 377355577, 377355733, 377355735, 377355737, 377355753, 377355755, 377355757, 377355773, 377355775, 377355777, 377357333, 377357335, 377357337, 377357353, 377357355, 377357357, 377357373, 377357375, 377357377, 377357533, 377357535, 377357537, 377357553, 377357555, 377357557, 377357573, 377357575, 377357577, 377357733, 377357735, 377357737, 377357753, 377357755, 377357757, 377357773, 377357775, 377357777, 377373335, 377373353, 377373355, 377373357, 377373375, 377373533, 377373535, 377373537, 377373553, 377373555, 377373557, 377373573, 377373575, 377373577, 377373735, 377373753, 377373755, 377373757, 377373775, 377375333, 377375335, 377375337, 377375353, 377375355, 377375357, 377375373, 377375375, 377375377, 377375533, 377375535, 377375537, 377375553, 377375555, 377375557, 377375573, 377375575, 377375577, 377375733, 377375735, 377375737, 377375753, 377375755, 377375757, 377375773, 377375775, 377375777, 377377335, 377377353, 377377355, 377377357, 377377375, 377377533, 377377535, 377377537, 377377553, 377377555, 377377557, 377377573, 377377575, 377377577, 377377735, 377377753, 377377755, 377377757, 377377775, 377533333, 377533335, 377533337, 377533353, 377533355, 377533357, 377533373, 377533375, 377533377, 377533533, 377533535, 377533537, 377533553, 377533555, 377533557, 377533573, 377533575, 377533577, 377533733, 377533735, 377533737, 377533753, 377533755, 377533757, 377533773, 377533775, 377533777, 377535333, 377535335, 377535337, 377535353, 377535355, 377535357, 377535373, 377535375, 377535377, 377535533, 377535535, 377535537, 377535553, 377535555, 377535557, 377535573, 377535575, 377535577, 377535733, 377535735, 377535737, 377535753, 377535755, 377535757, 377535773, 377535775, 377535777, 377537333, 377537335, 377537337, 377537353, 377537355, 377537357, 377537373, 377537375, 377537377, 377537533, 377537535, 377537537, 377537553, 377537555, 377537557, 377537573, 377537575, 377537577, 377537733, 377537735, 377537737, 377537753, 377537755, 377537757, 377537773, 377537775, 377537777, 377553333, 377553335, 377553337, 377553353, 377553355, 377553357, 377553373, 377553375, 377553377, 377553533, 377553535, 377553537, 377553553, 377553555, 377553557, 377553573, 377553575, 377553577, 377553733, 377553735, 377553737, 377553753, 377553755, 377553757, 377553773, 377553775, 377553777, 377555333, 377555335, 377555337, 377555353, 377555355, 377555357, 377555373, 377555375, 377555377, 377555533, 377555535, 377555537, 377555553, 377555555, 377555557, 377555573, 377555575, 377555577, 377555733, 377555735, 377555737, 377555753, 377555755, 377555757, 377555773, 377555775, 377555777, 377557333, 377557335, 377557337, 377557353, 377557355, 377557357, 377557373, 377557375, 377557377, 377557533, 377557535, 377557537, 377557553, 377557555, 377557557, 377557573, 377557575, 377557577, 377557733, 377557735, 377557737, 377557753, 377557755, 377557757, 377557773, 377557775, 377557777, 377573333, 377573335, 377573337, 377573353, 377573355, 377573357, 377573373, 377573375, 377573377, 377573533, 377573535, 377573537, 377573553, 377573555, 377573557, 377573573, 377573575, 377573577, 377573733, 377573735, 377573737, 377573753, 377573755, 377573757, 377573773, 377573775, 377573777, 377575333, 377575335, 377575337, 377575353, 377575355, 377575357, 377575373, 377575375, 377575377, 377575533, 377575535, 377575537, 377575553, 377575555, 377575557, 377575573, 377575575, 377575577, 377575733, 377575735, 377575737, 377575753, 377575755, 377575757, 377575773, 377575775, 377575777, 377577333, 377577335, 377577337, 377577353, 377577355, 377577357, 377577373, 377577375, 377577377, 377577533, 377577535, 377577537, 377577553, 377577555, 377577557, 377577573, 377577575, 377577577, 377577733, 377577735, 377577737, 377577753, 377577755, 377577757, 377577773, 377577775, 377577777, 377733335, 377733353, 377733355, 377733357, 377733375, 377733533, 377733535, 377733537, 377733553, 377733555, 377733557, 377733573, 377733575, 377733577, 377733735, 377733753, 377733755, 377733757, 377733775, 377735333, 377735335, 377735337, 377735353, 377735355, 377735357, 377735373, 377735375, 377735377, 377735533, 377735535, 377735537, 377735553, 377735555, 377735557, 377735573, 377735575, 377735577, 377735733, 377735735, 377735737, 377735753, 377735755, 377735757, 377735773, 377735775, 377735777, 377737335, 377737353, 377737355, 377737357, 377737375, 377737533, 377737535, 377737537, 377737553, 377737555, 377737557, 377737573, 377737575, 377737577, 377737735, 377737753, 377737755, 377737757, 377737775, 377753333, 377753335, 377753337, 377753353, 377753355, 377753357, 377753373, 377753375, 377753377, 377753533, 377753535, 377753537, 377753553, 377753555, 377753557, 377753573, 377753575, 377753577, 377753733, 377753735, 377753737, 377753753, 377753755, 377753757, 377753773, 377753775, 377753777, 377755333, 377755335, 377755337, 377755353, 377755355, 377755357, 377755373, 377755375, 377755377, 377755533, 377755535, 377755537, 377755553, 377755555, 377755557, 377755573, 377755575, 377755577, 377755733, 377755735, 377755737, 377755753, 377755755, 377755757, 377755773, 377755775, 377755777, 377757333, 377757335, 377757337, 377757353, 377757355, 377757357, 377757373, 377757375, 377757377, 377757533, 377757535, 377757537, 377757553, 377757555, 377757557, 377757573, 377757575, 377757577, 377757733, 377757735, 377757737, 377757753, 377757755, 377757757, 377757773, 377757775, 377757777, 377773335, 377773353, 377773355, 377773357, 377773375, 377773533, 377773535, 377773537, 377773553, 377773555, 377773557, 377773573, 377773575, 377773577, 377773735, 377773753, 377773755, 377773757, 377773775, 377775333, 377775335, 377775337, 377775353, 377775355, 377775357, 377775373, 377775375, 377775377, 377775533, 377775535, 377775537, 377775553, 377775555, 377775557, 377775573, 377775575, 377775577, 377775733, 377775735, 377775737, 377775753, 377775755, 377775757, 377775773, 377775775, 377775777, 377777335, 377777353, 377777355, 377777357, 377777375, 377777533, 377777535, 377777537, 377777553, 377777555, 377777557, 377777573, 377777575, 377777577, 377777735, 377777753, 377777755, 377777757, 377777775, 533333337, 533333357, 533333373, 533333375, 533333377, 533333537, 533333557, 533333573, 533333575, 533333577, 533333733, 533333735, 533333737, 533333753, 533333755, 533333757, 533333773, 533333775, 533333777, 533335337, 533335357, 533335373, 533335375, 533335377, 533335537, 533335557, 533335573, 533335575, 533335577, 533335733, 533335735, 533335737, 533335753, 533335755, 533335757, 533335773, 533335775, 533335777, 533337333, 533337335, 533337337, 533337353, 533337355, 533337357, 533337373, 533337375, 533337377, 533337533, 533337535, 533337537, 533337553, 533337555, 533337557, 533337573, 533337575, 533337577, 533337733, 533337735, 533337737, 533337753, 533337755, 533337757, 533337773, 533337775, 533337777, 533353337, 533353357, 533353373, 533353375, 533353377, 533353537, 533353557, 533353573, 533353575, 533353577, 533353733, 533353735, 533353737, 533353753, 533353755, 533353757, 533353773, 533353775, 533353777, 533355337, 533355357, 533355373, 533355375, 533355377, 533355537, 533355557, 533355573, 533355575, 533355577, 533355733, 533355735, 533355737, 533355753, 533355755, 533355757, 533355773, 533355775, 533355777, 533357333, 533357335, 533357337, 533357353, 533357355, 533357357, 533357373, 533357375, 533357377, 533357533, 533357535, 533357537, 533357553, 533357555, 533357557, 533357573, 533357575, 533357577, 533357733, 533357735, 533357737, 533357753, 533357755, 533357757, 533357773, 533357775, 533357777, 533373333, 533373335, 533373337, 533373353, 533373355, 533373357, 533373373, 533373375, 533373377, 533373533, 533373535, 533373537, 533373553, 533373555, 533373557, 533373573, 533373575, 533373577, 533373733, 533373735, 533373737, 533373753, 533373755, 533373757, 533373773, 533373775, 533373777, 533375333, 533375335, 533375337, 533375353, 533375355, 533375357, 533375373, 533375375, 533375377, 533375533, 533375535, 533375537, 533375553, 533375555, 533375557, 533375573, 533375575, 533375577, 533375733, 533375735, 533375737, 533375753, 533375755, 533375757, 533375773, 533375775, 533375777, 533377333, 533377335, 533377337, 533377353, 533377355, 533377357, 533377373, 533377375, 533377377, 533377533, 533377535, 533377537, 533377553, 533377555, 533377557, 533377573, 533377575, 533377577, 533377733, 533377735, 533377737, 533377753, 533377755, 533377757, 533377773, 533377775, 533377777, 533533337, 533533357, 533533373, 533533375, 533533377, 533533537, 533533557, 533533573, 533533575, 533533577, 533533733, 533533735, 533533737, 533533753, 533533755, 533533757, 533533773, 533533775, 533533777, 533535337, 533535357, 533535373, 533535375, 533535377, 533535537, 533535557, 533535573, 533535575, 533535577, 533535733, 533535735, 533535737, 533535753, 533535755, 533535757, 533535773, 533535775, 533535777, 533537333, 533537335, 533537337, 533537353, 533537355, 533537357, 533537373, 533537375, 533537377, 533537533, 533537535, 533537537, 533537553, 533537555, 533537557, 533537573, 533537575, 533537577, 533537733, 533537735, 533537737, 533537753, 533537755, 533537757, 533537773, 533537775, 533537777, 533553337, 533553357, 533553373, 533553375, 533553377, 533553537, 533553557, 533553573, 533553575, 533553577, 533553733, 533553735, 533553737, 533553753, 533553755, 533553757, 533553773, 533553775, 533553777, 533555337, 533555357, 533555373, 533555375, 533555377, 533555537, 533555557, 533555573, 533555575, 533555577, 533555733, 533555735, 533555737, 533555753, 533555755, 533555757, 533555773, 533555775, 533555777, 533557333, 533557335, 533557337, 533557353, 533557355, 533557357, 533557373, 533557375, 533557377, 533557533, 533557535, 533557537, 533557553, 533557555, 533557557, 533557573, 533557575, 533557577, 533557733, 533557735, 533557737, 533557753, 533557755, 533557757, 533557773, 533557775, 533557777, 533573333, 533573335, 533573337, 533573353, 533573355, 533573357, 533573373, 533573375, 533573377, 533573533, 533573535, 533573537, 533573553, 533573555, 533573557, 533573573, 533573575, 533573577, 533573733, 533573735, 533573737, 533573753, 533573755, 533573757, 533573773, 533573775, 533573777, 533575333, 533575335, 533575337, 533575353, 533575355, 533575357, 533575373, 533575375, 533575377, 533575533, 533575535, 533575537, 533575553, 533575555, 533575557, 533575573, 533575575, 533575577, 533575733, 533575735, 533575737, 533575753, 533575755, 533575757, 533575773, 533575775, 533575777, 533577333, 533577335, 533577337, 533577353, 533577355, 533577357, 533577373, 533577375, 533577377, 533577533, 533577535, 533577537, 533577553, 533577555, 533577557, 533577573, 533577575, 533577577, 533577733, 533577735, 533577737, 533577753, 533577755, 533577757, 533577773, 533577775, 533577777, 533733333, 533733335, 533733337, 533733353, 533733355, 533733357, 533733373, 533733375, 533733377, 533733533, 533733535, 533733537, 533733553, 533733555, 533733557, 533733573, 533733575, 533733577, 533733733, 533733735, 533733737, 533733753, 533733755, 533733757, 533733773, 533733775, 533733777, 533735333, 533735335, 533735337, 533735353, 533735355, 533735357, 533735373, 533735375, 533735377, 533735533, 533735535, 533735537, 533735553, 533735555, 533735557, 533735573, 533735575, 533735577, 533735733, 533735735, 533735737, 533735753, 533735755, 533735757, 533735773, 533735775, 533735777, 533737333, 533737335, 533737337, 533737353, 533737355, 533737357, 533737373, 533737375, 533737377, 533737533, 533737535, 533737537, 533737553, 533737555, 533737557, 533737573, 533737575, 533737577, 533737733, 533737735, 533737737, 533737753, 533737755, 533737757, 533737773, 533737775, 533737777, 533753333, 533753335, 533753337, 533753353, 533753355, 533753357, 533753373, 533753375, 533753377, 533753533, 533753535, 533753537, 533753553, 533753555, 533753557, 533753573, 533753575, 533753577, 533753733, 533753735, 533753737, 533753753, 533753755, 533753757, 533753773, 533753775, 533753777, 533755333, 533755335, 533755337, 533755353, 533755355, 533755357, 533755373, 533755375, 533755377, 533755533, 533755535, 533755537, 533755553, 533755555, 533755557, 533755573, 533755575, 533755577, 533755733, 533755735, 533755737, 533755753, 533755755, 533755757, 533755773, 533755775, 533755777, 533757333, 533757335, 533757337, 533757353, 533757355, 533757357, 533757373, 533757375, 533757377, 533757533, 533757535, 533757537, 533757553, 533757555, 533757557, 533757573, 533757575, 533757577, 533757733, 533757735, 533757737, 533757753, 533757755, 533757757, 533757773, 533757775, 533757777, 533773333, 533773335, 533773337, 533773353, 533773355, 533773357, 533773373, 533773375, 533773377, 533773533, 533773535, 533773537, 533773553, 533773555, 533773557, 533773573, 533773575, 533773577, 533773733, 533773735, 533773737, 533773753, 533773755, 533773757, 533773773, 533773775, 533773777, 533775333, 533775335, 533775337, 533775353, 533775355, 533775357, 533775373, 533775375, 533775377, 533775533, 533775535, 533775537, 533775553, 533775555, 533775557, 533775573, 533775575, 533775577, 533775733, 533775735, 533775737, 533775753, 533775755, 533775757, 533775773, 533775775, 533775777, 533777333, 533777335, 533777337, 533777353, 533777355, 533777357, 533777373, 533777375, 533777377, 533777533, 533777535, 533777537, 533777553, 533777555, 533777557, 533777573, 533777575, 533777577, 533777733, 533777735, 533777737, 533777753, 533777755, 533777757, 533777773, 533777775, 533777777, 535333337, 535333357, 535333373, 535333375, 535333377, 535333537, 535333557, 535333573, 535333575, 535333577, 535333733, 535333735, 535333737, 535333753, 535333755, 535333757, 535333773, 535333775, 535333777, 535335337, 535335357, 535335373, 535335375, 535335377, 535335537, 535335557, 535335573, 535335575, 535335577, 535335733, 535335735, 535335737, 535335753, 535335755, 535335757, 535335773, 535335775, 535335777, 535337333, 535337335, 535337337, 535337353, 535337355, 535337357, 535337373, 535337375, 535337377, 535337533, 535337535, 535337537, 535337553, 535337555, 535337557, 535337573, 535337575, 535337577, 535337733, 535337735, 535337737, 535337753, 535337755, 535337757, 535337773, 535337775, 535337777, 535353337, 535353357, 535353373, 535353375, 535353377, 535353537, 535353557, 535353573, 535353575, 535353577, 535353733, 535353735, 535353737, 535353753, 535353755, 535353757, 535353773, 535353775, 535353777, 535355337, 535355357, 535355373, 535355375, 535355377, 535355537, 535355557, 535355573, 535355575, 535355577, 535355733, 535355735, 535355737, 535355753, 535355755, 535355757, 535355773, 535355775, 535355777, 535357333, 535357335, 535357337, 535357353, 535357355, 535357357, 535357373, 535357375, 535357377, 535357533, 535357535, 535357537, 535357553, 535357555, 535357557, 535357573, 535357575, 535357577, 535357733, 535357735, 535357737, 535357753, 535357755, 535357757, 535357773, 535357775, 535357777, 535373333, 535373335, 535373337, 535373353, 535373355, 535373357, 535373373, 535373375, 535373377, 535373533, 535373535, 535373537, 535373553, 535373555, 535373557, 535373573, 535373575, 535373577, 535373733, 535373735, 535373737, 535373753, 535373755, 535373757, 535373773, 535373775, 535373777, 535375333, 535375335, 535375337, 535375353, 535375355, 535375357, 535375373, 535375375, 535375377, 535375533, 535375535, 535375537, 535375553, 535375555, 535375557, 535375573, 535375575, 535375577, 535375733, 535375735, 535375737, 535375753, 535375755, 535375757, 535375773, 535375775, 535375777, 535377333, 535377335, 535377337, 535377353, 535377355, 535377357, 535377373, 535377375, 535377377, 535377533, 535377535, 535377537, 535377553, 535377555, 535377557, 535377573, 535377575, 535377577, 535377733, 535377735, 535377737, 535377753, 535377755, 535377757, 535377773, 535377775, 535377777, 535533337, 535533357, 535533373, 535533375, 535533377, 535533537, 535533557, 535533573, 535533575, 535533577, 535533733, 535533735, 535533737, 535533753, 535533755, 535533757, 535533773, 535533775, 535533777, 535535337, 535535357, 535535373, 535535375, 535535377, 535535537, 535535557, 535535573, 535535575, 535535577, 535535733, 535535735, 535535737, 535535753, 535535755, 535535757, 535535773, 535535775, 535535777, 535537333, 535537335, 535537337, 535537353, 535537355, 535537357, 535537373, 535537375, 535537377, 535537533, 535537535, 535537537, 535537553, 535537555, 535537557, 535537573, 535537575, 535537577, 535537733, 535537735, 535537737, 535537753, 535537755, 535537757, 535537773, 535537775, 535537777, 535553337, 535553357, 535553373, 535553375, 535553377, 535553537, 535553557, 535553573, 535553575, 535553577, 535553733, 535553735, 535553737, 535553753, 535553755, 535553757, 535553773, 535553775, 535553777, 535555337, 535555357, 535555373, 535555375, 535555377, 535555537, 535555557, 535555573, 535555575, 535555577, 535555733, 535555735, 535555737, 535555753, 535555755, 535555757, 535555773, 535555775, 535555777, 535557333, 535557335, 535557337, 535557353, 535557355, 535557357, 535557373, 535557375, 535557377, 535557533, 535557535, 535557537, 535557553, 535557555, 535557557, 535557573, 535557575, 535557577, 535557733, 535557735, 535557737, 535557753, 535557755, 535557757, 535557773, 535557775, 535557777, 535573333, 535573335, 535573337, 535573353, 535573355, 535573357, 535573373, 535573375, 535573377, 535573533, 535573535, 535573537, 535573553, 535573555, 535573557, 535573573, 535573575, 535573577, 535573733, 535573735, 535573737, 535573753, 535573755, 535573757, 535573773, 535573775, 535573777, 535575333, 535575335, 535575337, 535575353, 535575355, 535575357, 535575373, 535575375, 535575377, 535575533, 535575535, 535575537, 535575553, 535575555, 535575557, 535575573, 535575575, 535575577, 535575733, 535575735, 535575737, 535575753, 535575755, 535575757, 535575773, 535575775, 535575777, 535577333, 535577335, 535577337, 535577353, 535577355, 535577357, 535577373, 535577375, 535577377, 535577533, 535577535, 535577537, 535577553, 535577555, 535577557, 535577573, 535577575, 535577577, 535577733, 535577735, 535577737, 535577753, 535577755, 535577757, 535577773, 535577775, 535577777, 535733333, 535733335, 535733337, 535733353, 535733355, 535733357, 535733373, 535733375, 535733377, 535733533, 535733535, 535733537, 535733553, 535733555, 535733557, 535733573, 535733575, 535733577, 535733733, 535733735, 535733737, 535733753, 535733755, 535733757, 535733773, 535733775, 535733777, 535735333, 535735335, 535735337, 535735353, 535735355, 535735357, 535735373, 535735375, 535735377, 535735533, 535735535, 535735537, 535735553, 535735555, 535735557, 535735573, 535735575, 535735577, 535735733, 535735735, 535735737, 535735753, 535735755, 535735757, 535735773, 535735775, 535735777, 535737333, 535737335, 535737337, 535737353, 535737355, 535737357, 535737373, 535737375, 535737377, 535737533, 535737535, 535737537, 535737553, 535737555, 535737557, 535737573, 535737575, 535737577, 535737733, 535737735, 535737737, 535737753, 535737755, 535737757, 535737773, 535737775, 535737777, 535753333, 535753335, 535753337, 535753353, 535753355, 535753357, 535753373, 535753375, 535753377, 535753533, 535753535, 535753537, 535753553, 535753555, 535753557, 535753573, 535753575, 535753577, 535753733, 535753735, 535753737, 535753753, 535753755, 535753757, 535753773, 535753775, 535753777, 535755333, 535755335, 535755337, 535755353, 535755355, 535755357, 535755373, 535755375, 535755377, 535755533, 535755535, 535755537, 535755553, 535755555, 535755557, 535755573, 535755575, 535755577, 535755733, 535755735, 535755737, 535755753, 535755755, 535755757, 535755773, 535755775, 535755777, 535757333, 535757335, 535757337, 535757353, 535757355, 535757357, 535757373, 535757375, 535757377, 535757533, 535757535, 535757537, 535757553, 535757555, 535757557, 535757573, 535757575, 535757577, 535757733, 535757735, 535757737, 535757753, 535757755, 535757757, 535757773, 535757775, 535757777, 535773333, 535773335, 535773337, 535773353, 535773355, 535773357, 535773373, 535773375, 535773377, 535773533, 535773535, 535773537, 535773553, 535773555, 535773557, 535773573, 535773575, 535773577, 535773733, 535773735, 535773737, 535773753, 535773755, 535773757, 535773773, 535773775, 535773777, 535775333, 535775335, 535775337, 535775353, 535775355, 535775357, 535775373, 535775375, 535775377, 535775533, 535775535, 535775537, 535775553, 535775555, 535775557, 535775573, 535775575, 535775577, 535775733, 535775735, 535775737, 535775753, 535775755, 535775757, 535775773, 535775775, 535775777, 535777333, 535777335, 535777337, 535777353, 535777355, 535777357, 535777373, 535777375, 535777377, 535777533, 535777535, 535777537, 535777553, 535777555, 535777557, 535777573, 535777575, 535777577, 535777733, 535777735, 535777737, 535777753, 535777755, 535777757, 535777773, 535777775, 535777777, 537333333, 537333335, 537333337, 537333353, 537333355, 537333357, 537333373, 537333375, 537333377, 537333533, 537333535, 537333537, 537333553, 537333555, 537333557, 537333573, 537333575, 537333577, 537333733, 537333735, 537333737, 537333753, 537333755, 537333757, 537333773, 537333775, 537333777, 537335333, 537335335, 537335337, 537335353, 537335355, 537335357, 537335373, 537335375, 537335377, 537335533, 537335535, 537335537, 537335553, 537335555, 537335557, 537335573, 537335575, 537335577, 537335733, 537335735, 537335737, 537335753, 537335755, 537335757, 537335773, 537335775, 537335777, 537337333, 537337335, 537337337, 537337353, 537337355, 537337357, 537337373, 537337375, 537337377, 537337533, 537337535, 537337537, 537337553, 537337555, 537337557, 537337573, 537337575, 537337577, 537337733, 537337735, 537337737, 537337753, 537337755, 537337757, 537337773, 537337775, 537337777, 537353333, 537353335, 537353337, 537353353, 537353355, 537353357, 537353373, 537353375, 537353377, 537353533, 537353535, 537353537, 537353553, 537353555, 537353557, 537353573, 537353575, 537353577, 537353733, 537353735, 537353737, 537353753, 537353755, 537353757, 537353773, 537353775, 537353777, 537355333, 537355335, 537355337, 537355353, 537355355, 537355357, 537355373, 537355375, 537355377, 537355533, 537355535, 537355537, 537355553, 537355555, 537355557, 537355573, 537355575, 537355577, 537355733, 537355735, 537355737, 537355753, 537355755, 537355757, 537355773, 537355775, 537355777, 537357333, 537357335, 537357337, 537357353, 537357355, 537357357, 537357373, 537357375, 537357377, 537357533, 537357535, 537357537, 537357553, 537357555, 537357557, 537357573, 537357575, 537357577, 537357733, 537357735, 537357737, 537357753, 537357755, 537357757, 537357773, 537357775, 537357777, 537373333, 537373335, 537373337, 537373353, 537373355, 537373357, 537373373, 537373375, 537373377, 537373533, 537373535, 537373537, 537373553, 537373555, 537373557, 537373573, 537373575, 537373577, 537373733, 537373735, 537373737, 537373753, 537373755, 537373757, 537373773, 537373775, 537373777, 537375333, 537375335, 537375337, 537375353, 537375355, 537375357, 537375373, 537375375, 537375377, 537375533, 537375535, 537375537, 537375553, 537375555, 537375557, 537375573, 537375575, 537375577, 537375733, 537375735, 537375737, 537375753, 537375755, 537375757, 537375773, 537375775, 537375777, 537377333, 537377335, 537377337, 537377353, 537377355, 537377357, 537377373, 537377375, 537377377, 537377533, 537377535, 537377537, 537377553, 537377555, 537377557, 537377573, 537377575, 537377577, 537377733, 537377735, 537377737, 537377753, 537377755, 537377757, 537377773, 537377775, 537377777, 537533333, 537533335, 537533337, 537533353, 537533355, 537533357, 537533373, 537533375, 537533377, 537533533, 537533535, 537533537, 537533553, 537533555, 537533557, 537533573, 537533575, 537533577, 537533733, 537533735, 537533737, 537533753, 537533755, 537533757, 537533773, 537533775, 537533777, 537535333, 537535335, 537535337, 537535353, 537535355, 537535357, 537535373, 537535375, 537535377, 537535533, 537535535, 537535537, 537535553, 537535555, 537535557, 537535573, 537535575, 537535577, 537535733, 537535735, 537535737, 537535753, 537535755, 537535757, 537535773, 537535775, 537535777, 537537333, 537537335, 537537337, 537537353, 537537355, 537537357, 537537373, 537537375, 537537377, 537537533, 537537535, 537537537, 537537553, 537537555, 537537557, 537537573, 537537575, 537537577, 537537733, 537537735, 537537737, 537537753, 537537755, 537537757, 537537773, 537537775, 537537777, 537553333, 537553335, 537553337, 537553353, 537553355, 537553357, 537553373, 537553375, 537553377, 537553533, 537553535, 537553537, 537553553, 537553555, 537553557, 537553573, 537553575, 537553577, 537553733, 537553735, 537553737, 537553753, 537553755, 537553757, 537553773, 537553775, 537553777, 537555333, 537555335, 537555337, 537555353, 537555355, 537555357, 537555373, 537555375, 537555377, 537555533, 537555535, 537555537, 537555553, 537555555, 537555557, 537555573, 537555575, 537555577, 537555733, 537555735, 537555737, 537555753, 537555755, 537555757, 537555773, 537555775, 537555777, 537557333, 537557335, 537557337, 537557353, 537557355, 537557357, 537557373, 537557375, 537557377, 537557533, 537557535, 537557537, 537557553, 537557555, 537557557, 537557573, 537557575, 537557577, 537557733, 537557735, 537557737, 537557753, 537557755, 537557757, 537557773, 537557775, 537557777, 537573333, 537573335, 537573337, 537573353, 537573355, 537573357, 537573373, 537573375, 537573377, 537573533, 537573535, 537573537, 537573553, 537573555, 537573557, 537573573, 537573575, 537573577, 537573733, 537573735, 537573737, 537573753, 537573755, 537573757, 537573773, 537573775, 537573777, 537575333, 537575335, 537575337, 537575353, 537575355, 537575357, 537575373, 537575375, 537575377, 537575533, 537575535, 537575537, 537575553, 537575555, 537575557, 537575573, 537575575, 537575577, 537575733, 537575735, 537575737, 537575753, 537575755, 537575757, 537575773, 537575775, 537575777, 537577333, 537577335, 537577337, 537577353, 537577355, 537577357, 537577373, 537577375, 537577377, 537577533, 537577535, 537577537, 537577553, 537577555, 537577557, 537577573, 537577575, 537577577, 537577733, 537577735, 537577737, 537577753, 537577755, 537577757, 537577773, 537577775, 537577777, 537733333, 537733335, 537733337, 537733353, 537733355, 537733357, 537733373, 537733375, 537733377, 537733533, 537733535, 537733537, 537733553, 537733555, 537733557, 537733573, 537733575, 537733577, 537733733, 537733735, 537733737, 537733753, 537733755, 537733757, 537733773, 537733775, 537733777, 537735333, 537735335, 537735337, 537735353, 537735355, 537735357, 537735373, 537735375, 537735377, 537735533, 537735535, 537735537, 537735553, 537735555, 537735557, 537735573, 537735575, 537735577, 537735733, 537735735, 537735737, 537735753, 537735755, 537735757, 537735773, 537735775, 537735777, 537737333, 537737335, 537737337, 537737353, 537737355, 537737357, 537737373, 537737375, 537737377, 537737533, 537737535, 537737537, 537737553, 537737555, 537737557, 537737573, 537737575, 537737577, 537737733, 537737735, 537737737, 537737753, 537737755, 537737757, 537737773, 537737775, 537737777, 537753333, 537753335, 537753337, 537753353, 537753355, 537753357, 537753373, 537753375, 537753377, 537753533, 537753535, 537753537, 537753553, 537753555, 537753557, 537753573, 537753575, 537753577, 537753733, 537753735, 537753737, 537753753, 537753755, 537753757, 537753773, 537753775, 537753777, 537755333, 537755335, 537755337, 537755353, 537755355, 537755357, 537755373, 537755375, 537755377, 537755533, 537755535, 537755537, 537755553, 537755555, 537755557, 537755573, 537755575, 537755577, 537755733, 537755735, 537755737, 537755753, 537755755, 537755757, 537755773, 537755775, 537755777, 537757333, 537757335, 537757337, 537757353, 537757355, 537757357, 537757373, 537757375, 537757377, 537757533, 537757535, 537757537, 537757553, 537757555, 537757557, 537757573, 537757575, 537757577, 537757733, 537757735, 537757737, 537757753, 537757755, 537757757, 537757773, 537757775, 537757777, 537773333, 537773335, 537773337, 537773353, 537773355, 537773357, 537773373, 537773375, 537773377, 537773533, 537773535, 537773537, 537773553, 537773555, 537773557, 537773573, 537773575, 537773577, 537773733, 537773735, 537773737, 537773753, 537773755, 537773757, 537773773, 537773775, 537773777, 537775333, 537775335, 537775337, 537775353, 537775355, 537775357, 537775373, 537775375, 537775377, 537775533, 537775535, 537775537, 537775553, 537775555, 537775557, 537775573, 537775575, 537775577, 537775733, 537775735, 537775737, 537775753, 537775755, 537775757, 537775773, 537775775, 537775777, 537777333, 537777335, 537777337, 537777353, 537777355, 537777357, 537777373, 537777375, 537777377, 537777533, 537777535, 537777537, 537777553, 537777555, 537777557, 537777573, 537777575, 537777577, 537777733, 537777735, 537777737, 537777753, 537777755, 537777757, 537777773, 537777775, 537777777, 553333337, 553333357, 553333373, 553333375, 553333377, 553333537, 553333557, 553333573, 553333575, 553333577, 553333733, 553333735, 553333737, 553333753, 553333755, 553333757, 553333773, 553333775, 553333777, 553335337, 553335357, 553335373, 553335375, 553335377, 553335537, 553335557, 553335573, 553335575, 553335577, 553335733, 553335735, 553335737, 553335753, 553335755, 553335757, 553335773, 553335775, 553335777, 553337333, 553337335, 553337337, 553337353, 553337355, 553337357, 553337373, 553337375, 553337377, 553337533, 553337535, 553337537, 553337553, 553337555, 553337557, 553337573, 553337575, 553337577, 553337733, 553337735, 553337737, 553337753, 553337755, 553337757, 553337773, 553337775, 553337777, 553353337, 553353357, 553353373, 553353375, 553353377, 553353537, 553353557, 553353573, 553353575, 553353577, 553353733, 553353735, 553353737, 553353753, 553353755, 553353757, 553353773, 553353775, 553353777, 553355337, 553355357, 553355373, 553355375, 553355377, 553355537, 553355557, 553355573, 553355575, 553355577, 553355733, 553355735, 553355737, 553355753, 553355755, 553355757, 553355773, 553355775, 553355777, 553357333, 553357335, 553357337, 553357353, 553357355, 553357357, 553357373, 553357375, 553357377, 553357533, 553357535, 553357537, 553357553, 553357555, 553357557, 553357573, 553357575, 553357577, 553357733, 553357735, 553357737, 553357753, 553357755, 553357757, 553357773, 553357775, 553357777, 553373333, 553373335, 553373337, 553373353, 553373355, 553373357, 553373373, 553373375, 553373377, 553373533, 553373535, 553373537, 553373553, 553373555, 553373557, 553373573, 553373575, 553373577, 553373733, 553373735, 553373737, 553373753, 553373755, 553373757, 553373773, 553373775, 553373777, 553375333, 553375335, 553375337, 553375353, 553375355, 553375357, 553375373, 553375375, 553375377, 553375533, 553375535, 553375537, 553375553, 553375555, 553375557, 553375573, 553375575, 553375577, 553375733, 553375735, 553375737, 553375753, 553375755, 553375757, 553375773, 553375775, 553375777, 553377333, 553377335, 553377337, 553377353, 553377355, 553377357, 553377373, 553377375, 553377377, 553377533, 553377535, 553377537, 553377553, 553377555, 553377557, 553377573, 553377575, 553377577, 553377733, 553377735, 553377737, 553377753, 553377755, 553377757, 553377773, 553377775, 553377777, 553533337, 553533357, 553533373, 553533375, 553533377, 553533537, 553533557, 553533573, 553533575, 553533577, 553533733, 553533735, 553533737, 553533753, 553533755, 553533757, 553533773, 553533775, 553533777, 553535337, 553535357, 553535373, 553535375, 553535377, 553535537, 553535557, 553535573, 553535575, 553535577, 553535733, 553535735, 553535737, 553535753, 553535755, 553535757, 553535773, 553535775, 553535777, 553537333, 553537335, 553537337, 553537353, 553537355, 553537357, 553537373, 553537375, 553537377, 553537533, 553537535, 553537537, 553537553, 553537555, 553537557, 553537573, 553537575, 553537577, 553537733, 553537735, 553537737, 553537753, 553537755, 553537757, 553537773, 553537775, 553537777, 553553337, 553553357, 553553373, 553553375, 553553377, 553553537, 553553557, 553553573, 553553575, 553553577, 553553733, 553553735, 553553737, 553553753, 553553755, 553553757, 553553773, 553553775, 553553777, 553555337, 553555357, 553555373, 553555375, 553555377, 553555537, 553555557, 553555573, 553555575, 553555577, 553555733, 553555735, 553555737, 553555753, 553555755, 553555757, 553555773, 553555775, 553555777, 553557333, 553557335, 553557337, 553557353, 553557355, 553557357, 553557373, 553557375, 553557377, 553557533, 553557535, 553557537, 553557553, 553557555, 553557557, 553557573, 553557575, 553557577, 553557733, 553557735, 553557737, 553557753, 553557755, 553557757, 553557773, 553557775, 553557777, 553573333, 553573335, 553573337, 553573353, 553573355, 553573357, 553573373, 553573375, 553573377, 553573533, 553573535, 553573537, 553573553, 553573555, 553573557, 553573573, 553573575, 553573577, 553573733, 553573735, 553573737, 553573753, 553573755, 553573757, 553573773, 553573775, 553573777, 553575333, 553575335, 553575337, 553575353, 553575355, 553575357, 553575373, 553575375, 553575377, 553575533, 553575535, 553575537, 553575553, 553575555, 553575557, 553575573, 553575575, 553575577, 553575733, 553575735, 553575737, 553575753, 553575755, 553575757, 553575773, 553575775, 553575777, 553577333, 553577335, 553577337, 553577353, 553577355, 553577357, 553577373, 553577375, 553577377, 553577533, 553577535, 553577537, 553577553, 553577555, 553577557, 553577573, 553577575, 553577577, 553577733, 553577735, 553577737, 553577753, 553577755, 553577757, 553577773, 553577775, 553577777, 553733333, 553733335, 553733337, 553733353, 553733355, 553733357, 553733373, 553733375, 553733377, 553733533, 553733535, 553733537, 553733553, 553733555, 553733557, 553733573, 553733575, 553733577, 553733733, 553733735, 553733737, 553733753, 553733755, 553733757, 553733773, 553733775, 553733777, 553735333, 553735335, 553735337, 553735353, 553735355, 553735357, 553735373, 553735375, 553735377, 553735533, 553735535, 553735537, 553735553, 553735555, 553735557, 553735573, 553735575, 553735577, 553735733, 553735735, 553735737, 553735753, 553735755, 553735757, 553735773, 553735775, 553735777, 553737333, 553737335, 553737337, 553737353, 553737355, 553737357, 553737373, 553737375, 553737377, 553737533, 553737535, 553737537, 553737553, 553737555, 553737557, 553737573, 553737575, 553737577, 553737733, 553737735, 553737737, 553737753, 553737755, 553737757, 553737773, 553737775, 553737777, 553753333, 553753335, 553753337, 553753353, 553753355, 553753357, 553753373, 553753375, 553753377, 553753533, 553753535, 553753537, 553753553, 553753555, 553753557, 553753573, 553753575, 553753577, 553753733, 553753735, 553753737, 553753753, 553753755, 553753757, 553753773, 553753775, 553753777, 553755333, 553755335, 553755337, 553755353, 553755355, 553755357, 553755373, 553755375, 553755377, 553755533, 553755535, 553755537, 553755553, 553755555, 553755557, 553755573, 553755575, 553755577, 553755733, 553755735, 553755737, 553755753, 553755755, 553755757, 553755773, 553755775, 553755777, 553757333, 553757335, 553757337, 553757353, 553757355, 553757357, 553757373, 553757375, 553757377, 553757533, 553757535, 553757537, 553757553, 553757555, 553757557, 553757573, 553757575, 553757577, 553757733, 553757735, 553757737, 553757753, 553757755, 553757757, 553757773, 553757775, 553757777, 553773333, 553773335, 553773337, 553773353, 553773355, 553773357, 553773373, 553773375, 553773377, 553773533, 553773535, 553773537, 553773553, 553773555, 553773557, 553773573, 553773575, 553773577, 553773733, 553773735, 553773737, 553773753, 553773755, 553773757, 553773773, 553773775, 553773777, 553775333, 553775335, 553775337, 553775353, 553775355, 553775357, 553775373, 553775375, 553775377, 553775533, 553775535, 553775537, 553775553, 553775555, 553775557, 553775573, 553775575, 553775577, 553775733, 553775735, 553775737, 553775753, 553775755, 553775757, 553775773, 553775775, 553775777, 553777333, 553777335, 553777337, 553777353, 553777355, 553777357, 553777373, 553777375, 553777377, 553777533, 553777535, 553777537, 553777553, 553777555, 553777557, 553777573, 553777575, 553777577, 553777733, 553777735, 553777737, 553777753, 553777755, 553777757, 553777773, 553777775, 553777777, 555333337, 555333357, 555333373, 555333375, 555333377, 555333537, 555333557, 555333573, 555333575, 555333577, 555333733, 555333735, 555333737, 555333753, 555333755, 555333757, 555333773, 555333775, 555333777, 555335337, 555335357, 555335373, 555335375, 555335377, 555335537, 555335557, 555335573, 555335575, 555335577, 555335733, 555335735, 555335737, 555335753, 555335755, 555335757, 555335773, 555335775, 555335777, 555337333, 555337335, 555337337, 555337353, 555337355, 555337357, 555337373, 555337375, 555337377, 555337533, 555337535, 555337537, 555337553, 555337555, 555337557, 555337573, 555337575, 555337577, 555337733, 555337735, 555337737, 555337753, 555337755, 555337757, 555337773, 555337775, 555337777, 555353337, 555353357, 555353373, 555353375, 555353377, 555353537, 555353557, 555353573, 555353575, 555353577, 555353733, 555353735, 555353737, 555353753, 555353755, 555353757, 555353773, 555353775, 555353777, 555355337, 555355357, 555355373, 555355375, 555355377, 555355537, 555355557, 555355573, 555355575, 555355577, 555355733, 555355735, 555355737, 555355753, 555355755, 555355757, 555355773, 555355775, 555355777, 555357333, 555357335, 555357337, 555357353, 555357355, 555357357, 555357373, 555357375, 555357377, 555357533, 555357535, 555357537, 555357553, 555357555, 555357557, 555357573, 555357575, 555357577, 555357733, 555357735, 555357737, 555357753, 555357755, 555357757, 555357773, 555357775, 555357777, 555373333, 555373335, 555373337, 555373353, 555373355, 555373357, 555373373, 555373375, 555373377, 555373533, 555373535, 555373537, 555373553, 555373555, 555373557, 555373573, 555373575, 555373577, 555373733, 555373735, 555373737, 555373753, 555373755, 555373757, 555373773, 555373775, 555373777, 555375333, 555375335, 555375337, 555375353, 555375355, 555375357, 555375373, 555375375, 555375377, 555375533, 555375535, 555375537, 555375553, 555375555, 555375557, 555375573, 555375575, 555375577, 555375733, 555375735, 555375737, 555375753, 555375755, 555375757, 555375773, 555375775, 555375777, 555377333, 555377335, 555377337, 555377353, 555377355, 555377357, 555377373, 555377375, 555377377, 555377533, 555377535, 555377537, 555377553, 555377555, 555377557, 555377573, 555377575, 555377577, 555377733, 555377735, 555377737, 555377753, 555377755, 555377757, 555377773, 555377775, 555377777, 555533337, 555533357, 555533373, 555533375, 555533377, 555533537, 555533557, 555533573, 555533575, 555533577, 555533733, 555533735, 555533737, 555533753, 555533755, 555533757, 555533773, 555533775, 555533777, 555535337, 555535357, 555535373, 555535375, 555535377, 555535537, 555535557, 555535573, 555535575, 555535577, 555535733, 555535735, 555535737, 555535753, 555535755, 555535757, 555535773, 555535775, 555535777, 555537333, 555537335, 555537337, 555537353, 555537355, 555537357, 555537373, 555537375, 555537377, 555537533, 555537535, 555537537, 555537553, 555537555, 555537557, 555537573, 555537575, 555537577, 555537733, 555537735, 555537737, 555537753, 555537755, 555537757, 555537773, 555537775, 555537777, 555553337, 555553357, 555553373, 555553375, 555553377, 555553537, 555553557, 555553573, 555553575, 555553577, 555553733, 555553735, 555553737, 555553753, 555553755, 555553757, 555553773, 555553775, 555553777, 555555337, 555555357, 555555373, 555555375, 555555377, 555555537, 555555573, 555555733, 555555735, 555555737, 555555753, 555555773, 555557333, 555557335, 555557337, 555557353, 555557355, 555557357, 555557373, 555557375, 555557377, 555557533, 555557535, 555557537, 555557553, 555557573, 555557733, 555557735, 555557737, 555557753, 555557773, 555573333, 555573335, 555573337, 555573353, 555573355, 555573357, 555573373, 555573375, 555573377, 555573533, 555573535, 555573537, 555573553, 555573555, 555573557, 555573573, 555573575, 555573577, 555573733, 555573735, 555573737, 555573753, 555573755, 555573757, 555573773, 555573775, 555573777, 555575333, 555575335, 555575337, 555575353, 555575355, 555575357, 555575373, 555575375, 555575377, 555575533, 555575535, 555575537, 555575553, 555575573, 555575733, 555575735, 555575737, 555575753, 555575773, 555577333, 555577335, 555577337, 555577353, 555577355, 555577357, 555577373, 555577375, 555577377, 555577533, 555577535, 555577537, 555577553, 555577573, 555577733, 555577735, 555577737, 555577753, 555577773, 555733333, 555733335, 555733337, 555733353, 555733355, 555733357, 555733373, 555733375, 555733377, 555733533, 555733535, 555733537, 555733553, 555733555, 555733557, 555733573, 555733575, 555733577, 555733733, 555733735, 555733737, 555733753, 555733755, 555733757, 555733773, 555733775, 555733777, 555735333, 555735335, 555735337, 555735353, 555735355, 555735357, 555735373, 555735375, 555735377, 555735533, 555735535, 555735537, 555735553, 555735555, 555735557, 555735573, 555735575, 555735577, 555735733, 555735735, 555735737, 555735753, 555735755, 555735757, 555735773, 555735775, 555735777, 555737333, 555737335, 555737337, 555737353, 555737355, 555737357, 555737373, 555737375, 555737377, 555737533, 555737535, 555737537, 555737553, 555737555, 555737557, 555737573, 555737575, 555737577, 555737733, 555737735, 555737737, 555737753, 555737755, 555737757, 555737773, 555737775, 555737777, 555753333, 555753335, 555753337, 555753353, 555753355, 555753357, 555753373, 555753375, 555753377, 555753533, 555753535, 555753537, 555753553, 555753555, 555753557, 555753573, 555753575, 555753577, 555753733, 555753735, 555753737, 555753753, 555753755, 555753757, 555753773, 555753775, 555753777, 555755333, 555755335, 555755337, 555755353, 555755355, 555755357, 555755373, 555755375, 555755377, 555755533, 555755535, 555755537, 555755553, 555755573, 555755733, 555755735, 555755737, 555755753, 555755773, 555757333, 555757335, 555757337, 555757353, 555757355, 555757357, 555757373, 555757375, 555757377, 555757533, 555757535, 555757537, 555757553, 555757573, 555757733, 555757735, 555757737, 555757753, 555757773, 555773333, 555773335, 555773337, 555773353, 555773355, 555773357, 555773373, 555773375, 555773377, 555773533, 555773535, 555773537, 555773553, 555773555, 555773557, 555773573, 555773575, 555773577, 555773733, 555773735, 555773737, 555773753, 555773755, 555773757, 555773773, 555773775, 555773777, 555775333, 555775335, 555775337, 555775353, 555775355, 555775357, 555775373, 555775375, 555775377, 555775533, 555775535, 555775537, 555775553, 555775573, 555775733, 555775735, 555775737, 555775753, 555775773, 555777333, 555777335, 555777337, 555777353, 555777355, 555777357, 555777373, 555777375, 555777377, 555777533, 555777535, 555777537, 555777553, 555777573, 555777733, 555777735, 555777737, 555777753, 555777773, 557333333, 557333335, 557333337, 557333353, 557333355, 557333357, 557333373, 557333375, 557333377, 557333533, 557333535, 557333537, 557333553, 557333555, 557333557, 557333573, 557333575, 557333577, 557333733, 557333735, 557333737, 557333753, 557333755, 557333757, 557333773, 557333775, 557333777, 557335333, 557335335, 557335337, 557335353, 557335355, 557335357, 557335373, 557335375, 557335377, 557335533, 557335535, 557335537, 557335553, 557335555, 557335557, 557335573, 557335575, 557335577, 557335733, 557335735, 557335737, 557335753, 557335755, 557335757, 557335773, 557335775, 557335777, 557337333, 557337335, 557337337, 557337353, 557337355, 557337357, 557337373, 557337375, 557337377, 557337533, 557337535, 557337537, 557337553, 557337555, 557337557, 557337573, 557337575, 557337577, 557337733, 557337735, 557337737, 557337753, 557337755, 557337757, 557337773, 557337775, 557337777, 557353333, 557353335, 557353337, 557353353, 557353355, 557353357, 557353373, 557353375, 557353377, 557353533, 557353535, 557353537, 557353553, 557353555, 557353557, 557353573, 557353575, 557353577, 557353733, 557353735, 557353737, 557353753, 557353755, 557353757, 557353773, 557353775, 557353777, 557355333, 557355335, 557355337, 557355353, 557355355, 557355357, 557355373, 557355375, 557355377, 557355533, 557355535, 557355537, 557355553, 557355555, 557355557, 557355573, 557355575, 557355577, 557355733, 557355735, 557355737, 557355753, 557355755, 557355757, 557355773, 557355775, 557355777, 557357333, 557357335, 557357337, 557357353, 557357355, 557357357, 557357373, 557357375, 557357377, 557357533, 557357535, 557357537, 557357553, 557357555, 557357557, 557357573, 557357575, 557357577, 557357733, 557357735, 557357737, 557357753, 557357755, 557357757, 557357773, 557357775, 557357777, 557373333, 557373335, 557373337, 557373353, 557373355, 557373357, 557373373, 557373375, 557373377, 557373533, 557373535, 557373537, 557373553, 557373555, 557373557, 557373573, 557373575, 557373577, 557373733, 557373735, 557373737, 557373753, 557373755, 557373757, 557373773, 557373775, 557373777, 557375333, 557375335, 557375337, 557375353, 557375355, 557375357, 557375373, 557375375, 557375377, 557375533, 557375535, 557375537, 557375553, 557375555, 557375557, 557375573, 557375575, 557375577, 557375733, 557375735, 557375737, 557375753, 557375755, 557375757, 557375773, 557375775, 557375777, 557377333, 557377335, 557377337, 557377353, 557377355, 557377357, 557377373, 557377375, 557377377, 557377533, 557377535, 557377537, 557377553, 557377555, 557377557, 557377573, 557377575, 557377577, 557377733, 557377735, 557377737, 557377753, 557377755, 557377757, 557377773, 557377775, 557377777, 557533333, 557533335, 557533337, 557533353, 557533355, 557533357, 557533373, 557533375, 557533377, 557533533, 557533535, 557533537, 557533553, 557533555, 557533557, 557533573, 557533575, 557533577, 557533733, 557533735, 557533737, 557533753, 557533755, 557533757, 557533773, 557533775, 557533777, 557535333, 557535335, 557535337, 557535353, 557535355, 557535357, 557535373, 557535375, 557535377, 557535533, 557535535, 557535537, 557535553, 557535555, 557535557, 557535573, 557535575, 557535577, 557535733, 557535735, 557535737, 557535753, 557535755, 557535757, 557535773, 557535775, 557535777, 557537333, 557537335, 557537337, 557537353, 557537355, 557537357, 557537373, 557537375, 557537377, 557537533, 557537535, 557537537, 557537553, 557537555, 557537557, 557537573, 557537575, 557537577, 557537733, 557537735, 557537737, 557537753, 557537755, 557537757, 557537773, 557537775, 557537777, 557553333, 557553335, 557553337, 557553353, 557553355, 557553357, 557553373, 557553375, 557553377, 557553533, 557553535, 557553537, 557553553, 557553555, 557553557, 557553573, 557553575, 557553577, 557553733, 557553735, 557553737, 557553753, 557553755, 557553757, 557553773, 557553775, 557553777, 557555333, 557555335, 557555337, 557555353, 557555355, 557555357, 557555373, 557555375, 557555377, 557555533, 557555535, 557555537, 557555553, 557555573, 557555733, 557555735, 557555737, 557555753, 557555773, 557557333, 557557335, 557557337, 557557353, 557557355, 557557357, 557557373, 557557375, 557557377, 557557533, 557557535, 557557537, 557557553, 557557573, 557557733, 557557735, 557557737, 557557753, 557557773, 557573333, 557573335, 557573337, 557573353, 557573355, 557573357, 557573373, 557573375, 557573377, 557573533, 557573535, 557573537, 557573553, 557573555, 557573557, 557573573, 557573575, 557573577, 557573733, 557573735, 557573737, 557573753, 557573755, 557573757, 557573773, 557573775, 557573777, 557575333, 557575335, 557575337, 557575353, 557575355, 557575357, 557575373, 557575375, 557575377, 557575533, 557575535, 557575537, 557575553, 557575573, 557575733, 557575735, 557575737, 557575753, 557575773, 557577333, 557577335, 557577337, 557577353, 557577355, 557577357, 557577373, 557577375, 557577377, 557577533, 557577535, 557577537, 557577553, 557577573, 557577733, 557577735, 557577737, 557577753, 557577773, 557733333, 557733335, 557733337, 557733353, 557733355, 557733357, 557733373, 557733375, 557733377, 557733533, 557733535, 557733537, 557733553, 557733555, 557733557, 557733573, 557733575, 557733577, 557733733, 557733735, 557733737, 557733753, 557733755, 557733757, 557733773, 557733775, 557733777, 557735333, 557735335, 557735337, 557735353, 557735355, 557735357, 557735373, 557735375, 557735377, 557735533, 557735535, 557735537, 557735553, 557735555, 557735557, 557735573, 557735575, 557735577, 557735733, 557735735, 557735737, 557735753, 557735755, 557735757, 557735773, 557735775, 557735777, 557737333, 557737335, 557737337, 557737353, 557737355, 557737357, 557737373, 557737375, 557737377, 557737533, 557737535, 557737537, 557737553, 557737555, 557737557, 557737573, 557737575, 557737577, 557737733, 557737735, 557737737, 557737753, 557737755, 557737757, 557737773, 557737775, 557737777, 557753333, 557753335, 557753337, 557753353, 557753355, 557753357, 557753373, 557753375, 557753377, 557753533, 557753535, 557753537, 557753553, 557753555, 557753557, 557753573, 557753575, 557753577, 557753733, 557753735, 557753737, 557753753, 557753755, 557753757, 557753773, 557753775, 557753777, 557755333, 557755335, 557755337, 557755353, 557755355, 557755357, 557755373, 557755375, 557755377, 557755533, 557755535, 557755537, 557755553, 557755573, 557755733, 557755735, 557755737, 557755753, 557755773, 557757333, 557757335, 557757337, 557757353, 557757355, 557757357, 557757373, 557757375, 557757377, 557757533, 557757535, 557757537, 557757553, 557757573, 557757733, 557757735, 557757737, 557757753, 557757773, 557773333, 557773335, 557773337, 557773353, 557773355, 557773357, 557773373, 557773375, 557773377, 557773533, 557773535, 557773537, 557773553, 557773555, 557773557, 557773573, 557773575, 557773577, 557773733, 557773735, 557773737, 557773753, 557773755, 557773757, 557773773, 557773775, 557773777, 557775333, 557775335, 557775337, 557775353, 557775355, 557775357, 557775373, 557775375, 557775377, 557775533, 557775535, 557775537, 557775553, 557775573, 557775733, 557775735, 557775737, 557775753, 557775773, 557777333, 557777335, 557777337, 557777353, 557777355, 557777357, 557777373, 557777375, 557777377, 557777533, 557777535, 557777537, 557777553, 557777573, 557777733, 557777735, 557777737, 557777753, 557777773, 573333333, 573333335, 573333337, 573333353, 573333355, 573333357, 573333373, 573333375, 573333377, 573333533, 573333535, 573333537, 573333553, 573333555, 573333557, 573333573, 573333575, 573333577, 573333733, 573333735, 573333737, 573333753, 573333755, 573333757, 573333773, 573333775, 573333777, 573335333, 573335335, 573335337, 573335353, 573335355, 573335357, 573335373, 573335375, 573335377, 573335533, 573335535, 573335537, 573335553, 573335555, 573335557, 573335573, 573335575, 573335577, 573335733, 573335735, 573335737, 573335753, 573335755, 573335757, 573335773, 573335775, 573335777, 573337333, 573337335, 573337337, 573337353, 573337355, 573337357, 573337373, 573337375, 573337377, 573337533, 573337535, 573337537, 573337553, 573337555, 573337557, 573337573, 573337575, 573337577, 573337733, 573337735, 573337737, 573337753, 573337755, 573337757, 573337773, 573337775, 573337777, 573353333, 573353335, 573353337, 573353353, 573353355, 573353357, 573353373, 573353375, 573353377, 573353533, 573353535, 573353537, 573353553, 573353555, 573353557, 573353573, 573353575, 573353577, 573353733, 573353735, 573353737, 573353753, 573353755, 573353757, 573353773, 573353775, 573353777, 573355333, 573355335, 573355337, 573355353, 573355355, 573355357, 573355373, 573355375, 573355377, 573355533, 573355535, 573355537, 573355553, 573355555, 573355557, 573355573, 573355575, 573355577, 573355733, 573355735, 573355737, 573355753, 573355755, 573355757, 573355773, 573355775, 573355777, 573357333, 573357335, 573357337, 573357353, 573357355, 573357357, 573357373, 573357375, 573357377, 573357533, 573357535, 573357537, 573357553, 573357555, 573357557, 573357573, 573357575, 573357577, 573357733, 573357735, 573357737, 573357753, 573357755, 573357757, 573357773, 573357775, 573357777, 573373333, 573373335, 573373337, 573373353, 573373355, 573373357, 573373373, 573373375, 573373377, 573373533, 573373535, 573373537, 573373553, 573373555, 573373557, 573373573, 573373575, 573373577, 573373733, 573373735, 573373737, 573373753, 573373755, 573373757, 573373773, 573373775, 573373777, 573375333, 573375335, 573375337, 573375353, 573375355, 573375357, 573375373, 573375375, 573375377, 573375533, 573375535, 573375537, 573375553, 573375555, 573375557, 573375573, 573375575, 573375577, 573375733, 573375735, 573375737, 573375753, 573375755, 573375757, 573375773, 573375775, 573375777, 573377333, 573377335, 573377337, 573377353, 573377355, 573377357, 573377373, 573377375, 573377377, 573377533, 573377535, 573377537, 573377553, 573377555, 573377557, 573377573, 573377575, 573377577, 573377733, 573377735, 573377737, 573377753, 573377755, 573377757, 573377773, 573377775, 573377777, 573533333, 573533335, 573533337, 573533353, 573533355, 573533357, 573533373, 573533375, 573533377, 573533533, 573533535, 573533537, 573533553, 573533555, 573533557, 573533573, 573533575, 573533577, 573533733, 573533735, 573533737, 573533753, 573533755, 573533757, 573533773, 573533775, 573533777, 573535333, 573535335, 573535337, 573535353, 573535355, 573535357, 573535373, 573535375, 573535377, 573535533, 573535535, 573535537, 573535553, 573535555, 573535557, 573535573, 573535575, 573535577, 573535733, 573535735, 573535737, 573535753, 573535755, 573535757, 573535773, 573535775, 573535777, 573537333, 573537335, 573537337, 573537353, 573537355, 573537357, 573537373, 573537375, 573537377, 573537533, 573537535, 573537537, 573537553, 573537555, 573537557, 573537573, 573537575, 573537577, 573537733, 573537735, 573537737, 573537753, 573537755, 573537757, 573537773, 573537775, 573537777, 573553333, 573553335, 573553337, 573553353, 573553355, 573553357, 573553373, 573553375, 573553377, 573553533, 573553535, 573553537, 573553553, 573553555, 573553557, 573553573, 573553575, 573553577, 573553733, 573553735, 573553737, 573553753, 573553755, 573553757, 573553773, 573553775, 573553777, 573555333, 573555335, 573555337, 573555353, 573555355, 573555357, 573555373, 573555375, 573555377, 573555533, 573555535, 573555537, 573555553, 573555555, 573555557, 573555573, 573555575, 573555577, 573555733, 573555735, 573555737, 573555753, 573555755, 573555757, 573555773, 573555775, 573555777, 573557333, 573557335, 573557337, 573557353, 573557355, 573557357, 573557373, 573557375, 573557377, 573557533, 573557535, 573557537, 573557553, 573557555, 573557557, 573557573, 573557575, 573557577, 573557733, 573557735, 573557737, 573557753, 573557755, 573557757, 573557773, 573557775, 573557777, 573573333, 573573335, 573573337, 573573353, 573573355, 573573357, 573573373, 573573375, 573573377, 573573533, 573573535, 573573537, 573573553, 573573555, 573573557, 573573573, 573573575, 573573577, 573573733, 573573735, 573573737, 573573753, 573573755, 573573757, 573573773, 573573775, 573573777, 573575333, 573575335, 573575337, 573575353, 573575355, 573575357, 573575373, 573575375, 573575377, 573575533, 573575535, 573575537, 573575553, 573575555, 573575557, 573575573, 573575575, 573575577, 573575733, 573575735, 573575737, 573575753, 573575755, 573575757, 573575773, 573575775, 573575777, 573577333, 573577335, 573577337, 573577353, 573577355, 573577357, 573577373, 573577375, 573577377, 573577533, 573577535, 573577537, 573577553, 573577555, 573577557, 573577573, 573577575, 573577577, 573577733, 573577735, 573577737, 573577753, 573577755, 573577757, 573577773, 573577775, 573577777, 573733333, 573733335, 573733337, 573733353, 573733355, 573733357, 573733373, 573733375, 573733377, 573733533, 573733535, 573733537, 573733553, 573733555, 573733557, 573733573, 573733575, 573733577, 573733733, 573733735, 573733737, 573733753, 573733755, 573733757, 573733773, 573733775, 573733777, 573735333, 573735335, 573735337, 573735353, 573735355, 573735357, 573735373, 573735375, 573735377, 573735533, 573735535, 573735537, 573735553, 573735555, 573735557, 573735573, 573735575, 573735577, 573735733, 573735735, 573735737, 573735753, 573735755, 573735757, 573735773, 573735775, 573735777, 573737333, 573737335, 573737337, 573737353, 573737355, 573737357, 573737373, 573737375, 573737377, 573737533, 573737535, 573737537, 573737553, 573737555, 573737557, 573737573, 573737575, 573737577, 573737733, 573737735, 573737737, 573737753, 573737755, 573737757, 573737773, 573737775, 573737777, 573753333, 573753335, 573753337, 573753353, 573753355, 573753357, 573753373, 573753375, 573753377, 573753533, 573753535, 573753537, 573753553, 573753555, 573753557, 573753573, 573753575, 573753577, 573753733, 573753735, 573753737, 573753753, 573753755, 573753757, 573753773, 573753775, 573753777, 573755333, 573755335, 573755337, 573755353, 573755355, 573755357, 573755373, 573755375, 573755377, 573755533, 573755535, 573755537, 573755553, 573755555, 573755557, 573755573, 573755575, 573755577, 573755733, 573755735, 573755737, 573755753, 573755755, 573755757, 573755773, 573755775, 573755777, 573757333, 573757335, 573757337, 573757353, 573757355, 573757357, 573757373, 573757375, 573757377, 573757533, 573757535, 573757537, 573757553, 573757555, 573757557, 573757573, 573757575, 573757577, 573757733, 573757735, 573757737, 573757753, 573757755, 573757757, 573757773, 573757775, 573757777, 573773333, 573773335, 573773337, 573773353, 573773355, 573773357, 573773373, 573773375, 573773377, 573773533, 573773535, 573773537, 573773553, 573773555, 573773557, 573773573, 573773575, 573773577, 573773733, 573773735, 573773737, 573773753, 573773755, 573773757, 573773773, 573773775, 573773777, 573775333, 573775335, 573775337, 573775353, 573775355, 573775357, 573775373, 573775375, 573775377, 573775533, 573775535, 573775537, 573775553, 573775555, 573775557, 573775573, 573775575, 573775577, 573775733, 573775735, 573775737, 573775753, 573775755, 573775757, 573775773, 573775775, 573775777, 573777333, 573777335, 573777337, 573777353, 573777355, 573777357, 573777373, 573777375, 573777377, 573777533, 573777535, 573777537, 573777553, 573777555, 573777557, 573777573, 573777575, 573777577, 573777733, 573777735, 573777737, 573777753, 573777755, 573777757, 573777773, 573777775, 573777777, 575333333, 575333335, 575333337, 575333353, 575333355, 575333357, 575333373, 575333375, 575333377, 575333533, 575333535, 575333537, 575333553, 575333555, 575333557, 575333573, 575333575, 575333577, 575333733, 575333735, 575333737, 575333753, 575333755, 575333757, 575333773, 575333775, 575333777, 575335333, 575335335, 575335337, 575335353, 575335355, 575335357, 575335373, 575335375, 575335377, 575335533, 575335535, 575335537, 575335553, 575335555, 575335557, 575335573, 575335575, 575335577, 575335733, 575335735, 575335737, 575335753, 575335755, 575335757, 575335773, 575335775, 575335777, 575337333, 575337335, 575337337, 575337353, 575337355, 575337357, 575337373, 575337375, 575337377, 575337533, 575337535, 575337537, 575337553, 575337555, 575337557, 575337573, 575337575, 575337577, 575337733, 575337735, 575337737, 575337753, 575337755, 575337757, 575337773, 575337775, 575337777, 575353333, 575353335, 575353337, 575353353, 575353355, 575353357, 575353373, 575353375, 575353377, 575353533, 575353535, 575353537, 575353553, 575353555, 575353557, 575353573, 575353575, 575353577, 575353733, 575353735, 575353737, 575353753, 575353755, 575353757, 575353773, 575353775, 575353777, 575355333, 575355335, 575355337, 575355353, 575355355, 575355357, 575355373, 575355375, 575355377, 575355533, 575355535, 575355537, 575355553, 575355555, 575355557, 575355573, 575355575, 575355577, 575355733, 575355735, 575355737, 575355753, 575355755, 575355757, 575355773, 575355775, 575355777, 575357333, 575357335, 575357337, 575357353, 575357355, 575357357, 575357373, 575357375, 575357377, 575357533, 575357535, 575357537, 575357553, 575357555, 575357557, 575357573, 575357575, 575357577, 575357733, 575357735, 575357737, 575357753, 575357755, 575357757, 575357773, 575357775, 575357777, 575373333, 575373335, 575373337, 575373353, 575373355, 575373357, 575373373, 575373375, 575373377, 575373533, 575373535, 575373537, 575373553, 575373555, 575373557, 575373573, 575373575, 575373577, 575373733, 575373735, 575373737, 575373753, 575373755, 575373757, 575373773, 575373775, 575373777, 575375333, 575375335, 575375337, 575375353, 575375355, 575375357, 575375373, 575375375, 575375377, 575375533, 575375535, 575375537, 575375553, 575375555, 575375557, 575375573, 575375575, 575375577, 575375733, 575375735, 575375737, 575375753, 575375755, 575375757, 575375773, 575375775, 575375777, 575377333, 575377335, 575377337, 575377353, 575377355, 575377357, 575377373, 575377375, 575377377, 575377533, 575377535, 575377537, 575377553, 575377555, 575377557, 575377573, 575377575, 575377577, 575377733, 575377735, 575377737, 575377753, 575377755, 575377757, 575377773, 575377775, 575377777, 575533333, 575533335, 575533337, 575533353, 575533355, 575533357, 575533373, 575533375, 575533377, 575533533, 575533535, 575533537, 575533553, 575533555, 575533557, 575533573, 575533575, 575533577, 575533733, 575533735, 575533737, 575533753, 575533755, 575533757, 575533773, 575533775, 575533777, 575535333, 575535335, 575535337, 575535353, 575535355, 575535357, 575535373, 575535375, 575535377, 575535533, 575535535, 575535537, 575535553, 575535555, 575535557, 575535573, 575535575, 575535577, 575535733, 575535735, 575535737, 575535753, 575535755, 575535757, 575535773, 575535775, 575535777, 575537333, 575537335, 575537337, 575537353, 575537355, 575537357, 575537373, 575537375, 575537377, 575537533, 575537535, 575537537, 575537553, 575537555, 575537557, 575537573, 575537575, 575537577, 575537733, 575537735, 575537737, 575537753, 575537755, 575537757, 575537773, 575537775, 575537777, 575553333, 575553335, 575553337, 575553353, 575553355, 575553357, 575553373, 575553375, 575553377, 575553533, 575553535, 575553537, 575553553, 575553555, 575553557, 575553573, 575553575, 575553577, 575553733, 575553735, 575553737, 575553753, 575553755, 575553757, 575553773, 575553775, 575553777, 575555333, 575555335, 575555337, 575555353, 575555355, 575555357, 575555373, 575555375, 575555377, 575555533, 575555535, 575555537, 575555553, 575555573, 575555733, 575555735, 575555737, 575555753, 575555773, 575557333, 575557335, 575557337, 575557353, 575557355, 575557357, 575557373, 575557375, 575557377, 575557533, 575557535, 575557537, 575557553, 575557573, 575557733, 575557735, 575557737, 575557753, 575557773, 575573333, 575573335, 575573337, 575573353, 575573355, 575573357, 575573373, 575573375, 575573377, 575573533, 575573535, 575573537, 575573553, 575573555, 575573557, 575573573, 575573575, 575573577, 575573733, 575573735, 575573737, 575573753, 575573755, 575573757, 575573773, 575573775, 575573777, 575575333, 575575335, 575575337, 575575353, 575575355, 575575357, 575575373, 575575375, 575575377, 575575533, 575575535, 575575537, 575575553, 575575573, 575575733, 575575735, 575575737, 575575753, 575575773, 575577333, 575577335, 575577337, 575577353, 575577355, 575577357, 575577373, 575577375, 575577377, 575577533, 575577535, 575577537, 575577553, 575577573, 575577733, 575577735, 575577737, 575577753, 575577773, 575733333, 575733335, 575733337, 575733353, 575733355, 575733357, 575733373, 575733375, 575733377, 575733533, 575733535, 575733537, 575733553, 575733555, 575733557, 575733573, 575733575, 575733577, 575733733, 575733735, 575733737, 575733753, 575733755, 575733757, 575733773, 575733775, 575733777, 575735333, 575735335, 575735337, 575735353, 575735355, 575735357, 575735373, 575735375, 575735377, 575735533, 575735535, 575735537, 575735553, 575735555, 575735557, 575735573, 575735575, 575735577, 575735733, 575735735, 575735737, 575735753, 575735755, 575735757, 575735773, 575735775, 575735777, 575737333, 575737335, 575737337, 575737353, 575737355, 575737357, 575737373, 575737375, 575737377, 575737533, 575737535, 575737537, 575737553, 575737555, 575737557, 575737573, 575737575, 575737577, 575737733, 575737735, 575737737, 575737753, 575737755, 575737757, 575737773, 575737775, 575737777, 575753333, 575753335, 575753337, 575753353, 575753355, 575753357, 575753373, 575753375, 575753377, 575753533, 575753535, 575753537, 575753553, 575753555, 575753557, 575753573, 575753575, 575753577, 575753733, 575753735, 575753737, 575753753, 575753755, 575753757, 575753773, 575753775, 575753777, 575755333, 575755335, 575755337, 575755353, 575755355, 575755357, 575755373, 575755375, 575755377, 575755533, 575755535, 575755537, 575755553, 575755573, 575755733, 575755735, 575755737, 575755753, 575755773, 575757333, 575757335, 575757337, 575757353, 575757355, 575757357, 575757373, 575757375, 575757377, 575757533, 575757535, 575757537, 575757553, 575757573, 575757733, 575757735, 575757737, 575757753, 575757773, 575773333, 575773335, 575773337, 575773353, 575773355, 575773357, 575773373, 575773375, 575773377, 575773533, 575773535, 575773537, 575773553, 575773555, 575773557, 575773573, 575773575, 575773577, 575773733, 575773735, 575773737, 575773753, 575773755, 575773757, 575773773, 575773775, 575773777, 575775333, 575775335, 575775337, 575775353, 575775355, 575775357, 575775373, 575775375, 575775377, 575775533, 575775535, 575775537, 575775553, 575775573, 575775733, 575775735, 575775737, 575775753, 575775773, 575777333, 575777335, 575777337, 575777353, 575777355, 575777357, 575777373, 575777375, 575777377, 575777533, 575777535, 575777537, 575777553, 575777573, 575777733, 575777735, 575777737, 575777753, 575777773, 577333333, 577333335, 577333337, 577333353, 577333355, 577333357, 577333373, 577333375, 577333377, 577333533, 577333535, 577333537, 577333553, 577333555, 577333557, 577333573, 577333575, 577333577, 577333733, 577333735, 577333737, 577333753, 577333755, 577333757, 577333773, 577333775, 577333777, 577335333, 577335335, 577335337, 577335353, 577335355, 577335357, 577335373, 577335375, 577335377, 577335533, 577335535, 577335537, 577335553, 577335555, 577335557, 577335573, 577335575, 577335577, 577335733, 577335735, 577335737, 577335753, 577335755, 577335757, 577335773, 577335775, 577335777, 577337333, 577337335, 577337337, 577337353, 577337355, 577337357, 577337373, 577337375, 577337377, 577337533, 577337535, 577337537, 577337553, 577337555, 577337557, 577337573, 577337575, 577337577, 577337733, 577337735, 577337737, 577337753, 577337755, 577337757, 577337773, 577337775, 577337777, 577353333, 577353335, 577353337, 577353353, 577353355, 577353357, 577353373, 577353375, 577353377, 577353533, 577353535, 577353537, 577353553, 577353555, 577353557, 577353573, 577353575, 577353577, 577353733, 577353735, 577353737, 577353753, 577353755, 577353757, 577353773, 577353775, 577353777, 577355333, 577355335, 577355337, 577355353, 577355355, 577355357, 577355373, 577355375, 577355377, 577355533, 577355535, 577355537, 577355553, 577355555, 577355557, 577355573, 577355575, 577355577, 577355733, 577355735, 577355737, 577355753, 577355755, 577355757, 577355773, 577355775, 577355777, 577357333, 577357335, 577357337, 577357353, 577357355, 577357357, 577357373, 577357375, 577357377, 577357533, 577357535, 577357537, 577357553, 577357555, 577357557, 577357573, 577357575, 577357577, 577357733, 577357735, 577357737, 577357753, 577357755, 577357757, 577357773, 577357775, 577357777, 577373333, 577373335, 577373337, 577373353, 577373355, 577373357, 577373373, 577373375, 577373377, 577373533, 577373535, 577373537, 577373553, 577373555, 577373557, 577373573, 577373575, 577373577, 577373733, 577373735, 577373737, 577373753, 577373755, 577373757, 577373773, 577373775, 577373777, 577375333, 577375335, 577375337, 577375353, 577375355, 577375357, 577375373, 577375375, 577375377, 577375533, 577375535, 577375537, 577375553, 577375555, 577375557, 577375573, 577375575, 577375577, 577375733, 577375735, 577375737, 577375753, 577375755, 577375757, 577375773, 577375775, 577375777, 577377333, 577377335, 577377337, 577377353, 577377355, 577377357, 577377373, 577377375, 577377377, 577377533, 577377535, 577377537, 577377553, 577377555, 577377557, 577377573, 577377575, 577377577, 577377733, 577377735, 577377737, 577377753, 577377755, 577377757, 577377773, 577377775, 577377777, 577533333, 577533335, 577533337, 577533353, 577533355, 577533357, 577533373, 577533375, 577533377, 577533533, 577533535, 577533537, 577533553, 577533555, 577533557, 577533573, 577533575, 577533577, 577533733, 577533735, 577533737, 577533753, 577533755, 577533757, 577533773, 577533775, 577533777, 577535333, 577535335, 577535337, 577535353, 577535355, 577535357, 577535373, 577535375, 577535377, 577535533, 577535535, 577535537, 577535553, 577535555, 577535557, 577535573, 577535575, 577535577, 577535733, 577535735, 577535737, 577535753, 577535755, 577535757, 577535773, 577535775, 577535777, 577537333, 577537335, 577537337, 577537353, 577537355, 577537357, 577537373, 577537375, 577537377, 577537533, 577537535, 577537537, 577537553, 577537555, 577537557, 577537573, 577537575, 577537577, 577537733, 577537735, 577537737, 577537753, 577537755, 577537757, 577537773, 577537775, 577537777, 577553333, 577553335, 577553337, 577553353, 577553355, 577553357, 577553373, 577553375, 577553377, 577553533, 577553535, 577553537, 577553553, 577553555, 577553557, 577553573, 577553575, 577553577, 577553733, 577553735, 577553737, 577553753, 577553755, 577553757, 577553773, 577553775, 577553777, 577555333, 577555335, 577555337, 577555353, 577555355, 577555357, 577555373, 577555375, 577555377, 577555533, 577555535, 577555537, 577555553, 577555573, 577555733, 577555735, 577555737, 577555753, 577555773, 577557333, 577557335, 577557337, 577557353, 577557355, 577557357, 577557373, 577557375, 577557377, 577557533, 577557535, 577557537, 577557553, 577557573, 577557733, 577557735, 577557737, 577557753, 577557773, 577573333, 577573335, 577573337, 577573353, 577573355, 577573357, 577573373, 577573375, 577573377, 577573533, 577573535, 577573537, 577573553, 577573555, 577573557, 577573573, 577573575, 577573577, 577573733, 577573735, 577573737, 577573753, 577573755, 577573757, 577573773, 577573775, 577573777, 577575333, 577575335, 577575337, 577575353, 577575355, 577575357, 577575373, 577575375, 577575377, 577575533, 577575535, 577575537, 577575553, 577575573, 577575733, 577575735, 577575737, 577575753, 577575773, 577577333, 577577335, 577577337, 577577353, 577577355, 577577357, 577577373, 577577375, 577577377, 577577533, 577577535, 577577537, 577577553, 577577573, 577577733, 577577735, 577577737, 577577753, 577577773, 577733333, 577733335, 577733337, 577733353, 577733355, 577733357, 577733373, 577733375, 577733377, 577733533, 577733535, 577733537, 577733553, 577733555, 577733557, 577733573, 577733575, 577733577, 577733733, 577733735, 577733737, 577733753, 577733755, 577733757, 577733773, 577733775, 577733777, 577735333, 577735335, 577735337, 577735353, 577735355, 577735357, 577735373, 577735375, 577735377, 577735533, 577735535, 577735537, 577735553, 577735555, 577735557, 577735573, 577735575, 577735577, 577735733, 577735735, 577735737, 577735753, 577735755, 577735757, 577735773, 577735775, 577735777, 577737333, 577737335, 577737337, 577737353, 577737355, 577737357, 577737373, 577737375, 577737377, 577737533, 577737535, 577737537, 577737553, 577737555, 577737557, 577737573, 577737575, 577737577, 577737733, 577737735, 577737737, 577737753, 577737755, 577737757, 577737773, 577737775, 577737777, 577753333, 577753335, 577753337, 577753353, 577753355, 577753357, 577753373, 577753375, 577753377, 577753533, 577753535, 577753537, 577753553, 577753555, 577753557, 577753573, 577753575, 577753577, 577753733, 577753735, 577753737, 577753753, 577753755, 577753757, 577753773, 577753775, 577753777, 577755333, 577755335, 577755337, 577755353, 577755355, 577755357, 577755373, 577755375, 577755377, 577755533, 577755535, 577755537, 577755553, 577755573, 577755733, 577755735, 577755737, 577755753, 577755773, 577757333, 577757335, 577757337, 577757353, 577757355, 577757357, 577757373, 577757375, 577757377, 577757533, 577757535, 577757537, 577757553, 577757573, 577757733, 577757735, 577757737, 577757753, 577757773, 577773333, 577773335, 577773337, 577773353, 577773355, 577773357, 577773373, 577773375, 577773377, 577773533, 577773535, 577773537, 577773553, 577773555, 577773557, 577773573, 577773575, 577773577, 577773733, 577773735, 577773737, 577773753, 577773755, 577773757, 577773773, 577773775, 577773777, 577775333, 577775335, 577775337, 577775353, 577775355, 577775357, 577775373, 577775375, 577775377, 577775533, 577775535, 577775537, 577775553, 577775573, 577775733, 577775735, 577775737, 577775753, 577775773, 577777333, 577777335, 577777337, 577777353, 577777355, 577777357, 577777373, 577777375, 577777377, 577777533, 577777535, 577777537, 577777553, 577777573, 577777733, 577777735, 577777737, 577777753, 577777773, 733333335, 733333353, 733333355, 733333357, 733333375, 733333533, 733333535, 733333537, 733333553, 733333555, 733333557, 733333573, 733333575, 733333577, 733333735, 733333753, 733333755, 733333757, 733333775, 733335333, 733335335, 733335337, 733335353, 733335355, 733335357, 733335373, 733335375, 733335377, 733335533, 733335535, 733335537, 733335553, 733335555, 733335557, 733335573, 733335575, 733335577, 733335733, 733335735, 733335737, 733335753, 733335755, 733335757, 733335773, 733335775, 733335777, 733337335, 733337353, 733337355, 733337357, 733337375, 733337533, 733337535, 733337537, 733337553, 733337555, 733337557, 733337573, 733337575, 733337577, 733337735, 733337753, 733337755, 733337757, 733337775, 733353333, 733353335, 733353337, 733353353, 733353355, 733353357, 733353373, 733353375, 733353377, 733353533, 733353535, 733353537, 733353553, 733353555, 733353557, 733353573, 733353575, 733353577, 733353733, 733353735, 733353737, 733353753, 733353755, 733353757, 733353773, 733353775, 733353777, 733355333, 733355335, 733355337, 733355353, 733355355, 733355357, 733355373, 733355375, 733355377, 733355533, 733355535, 733355537, 733355553, 733355555, 733355557, 733355573, 733355575, 733355577, 733355733, 733355735, 733355737, 733355753, 733355755, 733355757, 733355773, 733355775, 733355777, 733357333, 733357335, 733357337, 733357353, 733357355, 733357357, 733357373, 733357375, 733357377, 733357533, 733357535, 733357537, 733357553, 733357555, 733357557, 733357573, 733357575, 733357577, 733357733, 733357735, 733357737, 733357753, 733357755, 733357757, 733357773, 733357775, 733357777, 733373335, 733373353, 733373355, 733373357, 733373375, 733373533, 733373535, 733373537, 733373553, 733373555, 733373557, 733373573, 733373575, 733373577, 733373735, 733373753, 733373755, 733373757, 733373775, 733375333, 733375335, 733375337, 733375353, 733375355, 733375357, 733375373, 733375375, 733375377, 733375533, 733375535, 733375537, 733375553, 733375555, 733375557, 733375573, 733375575, 733375577, 733375733, 733375735, 733375737, 733375753, 733375755, 733375757, 733375773, 733375775, 733375777, 733377335, 733377353, 733377355, 733377357, 733377375, 733377533, 733377535, 733377537, 733377553, 733377555, 733377557, 733377573, 733377575, 733377577, 733377735, 733377753, 733377755, 733377757, 733377775, 733533333, 733533335, 733533337, 733533353, 733533355, 733533357, 733533373, 733533375, 733533377, 733533533, 733533535, 733533537, 733533553, 733533555, 733533557, 733533573, 733533575, 733533577, 733533733, 733533735, 733533737, 733533753, 733533755, 733533757, 733533773, 733533775, 733533777, 733535333, 733535335, 733535337, 733535353, 733535355, 733535357, 733535373, 733535375, 733535377, 733535533, 733535535, 733535537, 733535553, 733535555, 733535557, 733535573, 733535575, 733535577, 733535733, 733535735, 733535737, 733535753, 733535755, 733535757, 733535773, 733535775, 733535777, 733537333, 733537335, 733537337, 733537353, 733537355, 733537357, 733537373, 733537375, 733537377, 733537533, 733537535, 733537537, 733537553, 733537555, 733537557, 733537573, 733537575, 733537577, 733537733, 733537735, 733537737, 733537753, 733537755, 733537757, 733537773, 733537775, 733537777, 733553333, 733553335, 733553337, 733553353, 733553355, 733553357, 733553373, 733553375, 733553377, 733553533, 733553535, 733553537, 733553553, 733553555, 733553557, 733553573, 733553575, 733553577, 733553733, 733553735, 733553737, 733553753, 733553755, 733553757, 733553773, 733553775, 733553777, 733555333, 733555335, 733555337, 733555353, 733555355, 733555357, 733555373, 733555375, 733555377, 733555533, 733555535, 733555537, 733555553, 733555555, 733555557, 733555573, 733555575, 733555577, 733555733, 733555735, 733555737, 733555753, 733555755, 733555757, 733555773, 733555775, 733555777, 733557333, 733557335, 733557337, 733557353, 733557355, 733557357, 733557373, 733557375, 733557377, 733557533, 733557535, 733557537, 733557553, 733557555, 733557557, 733557573, 733557575, 733557577, 733557733, 733557735, 733557737, 733557753, 733557755, 733557757, 733557773, 733557775, 733557777, 733573333, 733573335, 733573337, 733573353, 733573355, 733573357, 733573373, 733573375, 733573377, 733573533, 733573535, 733573537, 733573553, 733573555, 733573557, 733573573, 733573575, 733573577, 733573733, 733573735, 733573737, 733573753, 733573755, 733573757, 733573773, 733573775, 733573777, 733575333, 733575335, 733575337, 733575353, 733575355, 733575357, 733575373, 733575375, 733575377, 733575533, 733575535, 733575537, 733575553, 733575555, 733575557, 733575573, 733575575, 733575577, 733575733, 733575735, 733575737, 733575753, 733575755, 733575757, 733575773, 733575775, 733575777, 733577333, 733577335, 733577337, 733577353, 733577355, 733577357, 733577373, 733577375, 733577377, 733577533, 733577535, 733577537, 733577553, 733577555, 733577557, 733577573, 733577575, 733577577, 733577733, 733577735, 733577737, 733577753, 733577755, 733577757, 733577773, 733577775, 733577777, 733733335, 733733353, 733733355, 733733357, 733733375, 733733533, 733733535, 733733537, 733733553, 733733555, 733733557, 733733573, 733733575, 733733577, 733733735, 733733753, 733733755, 733733757, 733733775, 733735333, 733735335, 733735337, 733735353, 733735355, 733735357, 733735373, 733735375, 733735377, 733735533, 733735535, 733735537, 733735553, 733735555, 733735557, 733735573, 733735575, 733735577, 733735733, 733735735, 733735737, 733735753, 733735755, 733735757, 733735773, 733735775, 733735777, 733737335, 733737353, 733737355, 733737357, 733737375, 733737533, 733737535, 733737537, 733737553, 733737555, 733737557, 733737573, 733737575, 733737577, 733737735, 733737753, 733737755, 733737757, 733737775, 733753333, 733753335, 733753337, 733753353, 733753355, 733753357, 733753373, 733753375, 733753377, 733753533, 733753535, 733753537, 733753553, 733753555, 733753557, 733753573, 733753575, 733753577, 733753733, 733753735, 733753737, 733753753, 733753755, 733753757, 733753773, 733753775, 733753777, 733755333, 733755335, 733755337, 733755353, 733755355, 733755357, 733755373, 733755375, 733755377, 733755533, 733755535, 733755537, 733755553, 733755555, 733755557, 733755573, 733755575, 733755577, 733755733, 733755735, 733755737, 733755753, 733755755, 733755757, 733755773, 733755775, 733755777, 733757333, 733757335, 733757337, 733757353, 733757355, 733757357, 733757373, 733757375, 733757377, 733757533, 733757535, 733757537, 733757553, 733757555, 733757557, 733757573, 733757575, 733757577, 733757733, 733757735, 733757737, 733757753, 733757755, 733757757, 733757773, 733757775, 733757777, 733773335, 733773353, 733773355, 733773357, 733773375, 733773533, 733773535, 733773537, 733773553, 733773555, 733773557, 733773573, 733773575, 733773577, 733773735, 733773753, 733773755, 733773757, 733773775, 733775333, 733775335, 733775337, 733775353, 733775355, 733775357, 733775373, 733775375, 733775377, 733775533, 733775535, 733775537, 733775553, 733775555, 733775557, 733775573, 733775575, 733775577, 733775733, 733775735, 733775737, 733775753, 733775755, 733775757, 733775773, 733775775, 733775777, 733777335, 733777353, 733777355, 733777357, 733777375, 733777533, 733777535, 733777537, 733777553, 733777555, 733777557, 733777573, 733777575, 733777577, 733777735, 733777753, 733777755, 733777757, 733777775, 735333333, 735333335, 735333337, 735333353, 735333355, 735333357, 735333373, 735333375, 735333377, 735333533, 735333535, 735333537, 735333553, 735333555, 735333557, 735333573, 735333575, 735333577, 735333733, 735333735, 735333737, 735333753, 735333755, 735333757, 735333773, 735333775, 735333777, 735335333, 735335335, 735335337, 735335353, 735335355, 735335357, 735335373, 735335375, 735335377, 735335533, 735335535, 735335537, 735335553, 735335555, 735335557, 735335573, 735335575, 735335577, 735335733, 735335735, 735335737, 735335753, 735335755, 735335757, 735335773, 735335775, 735335777, 735337333, 735337335, 735337337, 735337353, 735337355, 735337357, 735337373, 735337375, 735337377, 735337533, 735337535, 735337537, 735337553, 735337555, 735337557, 735337573, 735337575, 735337577, 735337733, 735337735, 735337737, 735337753, 735337755, 735337757, 735337773, 735337775, 735337777, 735353333, 735353335, 735353337, 735353353, 735353355, 735353357, 735353373, 735353375, 735353377, 735353533, 735353535, 735353537, 735353553, 735353555, 735353557, 735353573, 735353575, 735353577, 735353733, 735353735, 735353737, 735353753, 735353755, 735353757, 735353773, 735353775, 735353777, 735355333, 735355335, 735355337, 735355353, 735355355, 735355357, 735355373, 735355375, 735355377, 735355533, 735355535, 735355537, 735355553, 735355555, 735355557, 735355573, 735355575, 735355577, 735355733, 735355735, 735355737, 735355753, 735355755, 735355757, 735355773, 735355775, 735355777, 735357333, 735357335, 735357337, 735357353, 735357355, 735357357, 735357373, 735357375, 735357377, 735357533, 735357535, 735357537, 735357553, 735357555, 735357557, 735357573, 735357575, 735357577, 735357733, 735357735, 735357737, 735357753, 735357755, 735357757, 735357773, 735357775, 735357777, 735373333, 735373335, 735373337, 735373353, 735373355, 735373357, 735373373, 735373375, 735373377, 735373533, 735373535, 735373537, 735373553, 735373555, 735373557, 735373573, 735373575, 735373577, 735373733, 735373735, 735373737, 735373753, 735373755, 735373757, 735373773, 735373775, 735373777, 735375333, 735375335, 735375337, 735375353, 735375355, 735375357, 735375373, 735375375, 735375377, 735375533, 735375535, 735375537, 735375553, 735375555, 735375557, 735375573, 735375575, 735375577, 735375733, 735375735, 735375737, 735375753, 735375755, 735375757, 735375773, 735375775, 735375777, 735377333, 735377335, 735377337, 735377353, 735377355, 735377357, 735377373, 735377375, 735377377, 735377533, 735377535, 735377537, 735377553, 735377555, 735377557, 735377573, 735377575, 735377577, 735377733, 735377735, 735377737, 735377753, 735377755, 735377757, 735377773, 735377775, 735377777, 735533333, 735533335, 735533337, 735533353, 735533355, 735533357, 735533373, 735533375, 735533377, 735533533, 735533535, 735533537, 735533553, 735533555, 735533557, 735533573, 735533575, 735533577, 735533733, 735533735, 735533737, 735533753, 735533755, 735533757, 735533773, 735533775, 735533777, 735535333, 735535335, 735535337, 735535353, 735535355, 735535357, 735535373, 735535375, 735535377, 735535533, 735535535, 735535537, 735535553, 735535555, 735535557, 735535573, 735535575, 735535577, 735535733, 735535735, 735535737, 735535753, 735535755, 735535757, 735535773, 735535775, 735535777, 735537333, 735537335, 735537337, 735537353, 735537355, 735537357, 735537373, 735537375, 735537377, 735537533, 735537535, 735537537, 735537553, 735537555, 735537557, 735537573, 735537575, 735537577, 735537733, 735537735, 735537737, 735537753, 735537755, 735537757, 735537773, 735537775, 735537777, 735553333, 735553335, 735553337, 735553353, 735553355, 735553357, 735553373, 735553375, 735553377, 735553533, 735553535, 735553537, 735553553, 735553555, 735553557, 735553573, 735553575, 735553577, 735553733, 735553735, 735553737, 735553753, 735553755, 735553757, 735553773, 735553775, 735553777, 735555333, 735555335, 735555337, 735555353, 735555355, 735555357, 735555373, 735555375, 735555377, 735555533, 735555535, 735555537, 735555553, 735555555, 735555557, 735555573, 735555575, 735555577, 735555733, 735555735, 735555737, 735555753, 735555755, 735555757, 735555773, 735555775, 735555777, 735557333, 735557335, 735557337, 735557353, 735557355, 735557357, 735557373, 735557375, 735557377, 735557533, 735557535, 735557537, 735557553, 735557555, 735557557, 735557573, 735557575, 735557577, 735557733, 735557735, 735557737, 735557753, 735557755, 735557757, 735557773, 735557775, 735557777, 735573333, 735573335, 735573337, 735573353, 735573355, 735573357, 735573373, 735573375, 735573377, 735573533, 735573535, 735573537, 735573553, 735573555, 735573557, 735573573, 735573575, 735573577, 735573733, 735573735, 735573737, 735573753, 735573755, 735573757, 735573773, 735573775, 735573777, 735575333, 735575335, 735575337, 735575353, 735575355, 735575357, 735575373, 735575375, 735575377, 735575533, 735575535, 735575537, 735575553, 735575555, 735575557, 735575573, 735575575, 735575577, 735575733, 735575735, 735575737, 735575753, 735575755, 735575757, 735575773, 735575775, 735575777, 735577333, 735577335, 735577337, 735577353, 735577355, 735577357, 735577373, 735577375, 735577377, 735577533, 735577535, 735577537, 735577553, 735577555, 735577557, 735577573, 735577575, 735577577, 735577733, 735577735, 735577737, 735577753, 735577755, 735577757, 735577773, 735577775, 735577777, 735733333, 735733335, 735733337, 735733353, 735733355, 735733357, 735733373, 735733375, 735733377, 735733533, 735733535, 735733537, 735733553, 735733555, 735733557, 735733573, 735733575, 735733577, 735733733, 735733735, 735733737, 735733753, 735733755, 735733757, 735733773, 735733775, 735733777, 735735333, 735735335, 735735337, 735735353, 735735355, 735735357, 735735373, 735735375, 735735377, 735735533, 735735535, 735735537, 735735553, 735735555, 735735557, 735735573, 735735575, 735735577, 735735733, 735735735, 735735737, 735735753, 735735755, 735735757, 735735773, 735735775, 735735777, 735737333, 735737335, 735737337, 735737353, 735737355, 735737357, 735737373, 735737375, 735737377, 735737533, 735737535, 735737537, 735737553, 735737555, 735737557, 735737573, 735737575, 735737577, 735737733, 735737735, 735737737, 735737753, 735737755, 735737757, 735737773, 735737775, 735737777, 735753333, 735753335, 735753337, 735753353, 735753355, 735753357, 735753373, 735753375, 735753377, 735753533, 735753535, 735753537, 735753553, 735753555, 735753557, 735753573, 735753575, 735753577, 735753733, 735753735, 735753737, 735753753, 735753755, 735753757, 735753773, 735753775, 735753777, 735755333, 735755335, 735755337, 735755353, 735755355, 735755357, 735755373, 735755375, 735755377, 735755533, 735755535, 735755537, 735755553, 735755555, 735755557, 735755573, 735755575, 735755577, 735755733, 735755735, 735755737, 735755753, 735755755, 735755757, 735755773, 735755775, 735755777, 735757333, 735757335, 735757337, 735757353, 735757355, 735757357, 735757373, 735757375, 735757377, 735757533, 735757535, 735757537, 735757553, 735757555, 735757557, 735757573, 735757575, 735757577, 735757733, 735757735, 735757737, 735757753, 735757755, 735757757, 735757773, 735757775, 735757777, 735773333, 735773335, 735773337, 735773353, 735773355, 735773357, 735773373, 735773375, 735773377, 735773533, 735773535, 735773537, 735773553, 735773555, 735773557, 735773573, 735773575, 735773577, 735773733, 735773735, 735773737, 735773753, 735773755, 735773757, 735773773, 735773775, 735773777, 735775333, 735775335, 735775337, 735775353, 735775355, 735775357, 735775373, 735775375, 735775377, 735775533, 735775535, 735775537, 735775553, 735775555, 735775557, 735775573, 735775575, 735775577, 735775733, 735775735, 735775737, 735775753, 735775755, 735775757, 735775773, 735775775, 735775777, 735777333, 735777335, 735777337, 735777353, 735777355, 735777357, 735777373, 735777375, 735777377, 735777533, 735777535, 735777537, 735777553, 735777555, 735777557, 735777573, 735777575, 735777577, 735777733, 735777735, 735777737, 735777753, 735777755, 735777757, 735777773, 735777775, 735777777, 737333335, 737333353, 737333355, 737333357, 737333375, 737333533, 737333535, 737333537, 737333553, 737333555, 737333557, 737333573, 737333575, 737333577, 737333735, 737333753, 737333755, 737333757, 737333775, 737335333, 737335335, 737335337, 737335353, 737335355, 737335357, 737335373, 737335375, 737335377, 737335533, 737335535, 737335537, 737335553, 737335555, 737335557, 737335573, 737335575, 737335577, 737335733, 737335735, 737335737, 737335753, 737335755, 737335757, 737335773, 737335775, 737335777, 737337335, 737337353, 737337355, 737337357, 737337375, 737337533, 737337535, 737337537, 737337553, 737337555, 737337557, 737337573, 737337575, 737337577, 737337735, 737337753, 737337755, 737337757, 737337775, 737353333, 737353335, 737353337, 737353353, 737353355, 737353357, 737353373, 737353375, 737353377, 737353533, 737353535, 737353537, 737353553, 737353555, 737353557, 737353573, 737353575, 737353577, 737353733, 737353735, 737353737, 737353753, 737353755, 737353757, 737353773, 737353775, 737353777, 737355333, 737355335, 737355337, 737355353, 737355355, 737355357, 737355373, 737355375, 737355377, 737355533, 737355535, 737355537, 737355553, 737355555, 737355557, 737355573, 737355575, 737355577, 737355733, 737355735, 737355737, 737355753, 737355755, 737355757, 737355773, 737355775, 737355777, 737357333, 737357335, 737357337, 737357353, 737357355, 737357357, 737357373, 737357375, 737357377, 737357533, 737357535, 737357537, 737357553, 737357555, 737357557, 737357573, 737357575, 737357577, 737357733, 737357735, 737357737, 737357753, 737357755, 737357757, 737357773, 737357775, 737357777, 737373335, 737373353, 737373355, 737373357, 737373375, 737373533, 737373535, 737373537, 737373553, 737373555, 737373557, 737373573, 737373575, 737373577, 737373735, 737373753, 737373755, 737373757, 737373775, 737375333, 737375335, 737375337, 737375353, 737375355, 737375357, 737375373, 737375375, 737375377, 737375533, 737375535, 737375537, 737375553, 737375555, 737375557, 737375573, 737375575, 737375577, 737375733, 737375735, 737375737, 737375753, 737375755, 737375757, 737375773, 737375775, 737375777, 737377335, 737377353, 737377355, 737377357, 737377375, 737377533, 737377535, 737377537, 737377553, 737377555, 737377557, 737377573, 737377575, 737377577, 737377735, 737377753, 737377755, 737377757, 737377775, 737533333, 737533335, 737533337, 737533353, 737533355, 737533357, 737533373, 737533375, 737533377, 737533533, 737533535, 737533537, 737533553, 737533555, 737533557, 737533573, 737533575, 737533577, 737533733, 737533735, 737533737, 737533753, 737533755, 737533757, 737533773, 737533775, 737533777, 737535333, 737535335, 737535337, 737535353, 737535355, 737535357, 737535373, 737535375, 737535377, 737535533, 737535535, 737535537, 737535553, 737535555, 737535557, 737535573, 737535575, 737535577, 737535733, 737535735, 737535737, 737535753, 737535755, 737535757, 737535773, 737535775, 737535777, 737537333, 737537335, 737537337, 737537353, 737537355, 737537357, 737537373, 737537375, 737537377, 737537533, 737537535, 737537537, 737537553, 737537555, 737537557, 737537573, 737537575, 737537577, 737537733, 737537735, 737537737, 737537753, 737537755, 737537757, 737537773, 737537775, 737537777, 737553333, 737553335, 737553337, 737553353, 737553355, 737553357, 737553373, 737553375, 737553377, 737553533, 737553535, 737553537, 737553553, 737553555, 737553557, 737553573, 737553575, 737553577, 737553733, 737553735, 737553737, 737553753, 737553755, 737553757, 737553773, 737553775, 737553777, 737555333, 737555335, 737555337, 737555353, 737555355, 737555357, 737555373, 737555375, 737555377, 737555533, 737555535, 737555537, 737555553, 737555555, 737555557, 737555573, 737555575, 737555577, 737555733, 737555735, 737555737, 737555753, 737555755, 737555757, 737555773, 737555775, 737555777, 737557333, 737557335, 737557337, 737557353, 737557355, 737557357, 737557373, 737557375, 737557377, 737557533, 737557535, 737557537, 737557553, 737557555, 737557557, 737557573, 737557575, 737557577, 737557733, 737557735, 737557737, 737557753, 737557755, 737557757, 737557773, 737557775, 737557777, 737573333, 737573335, 737573337, 737573353, 737573355, 737573357, 737573373, 737573375, 737573377, 737573533, 737573535, 737573537, 737573553, 737573555, 737573557, 737573573, 737573575, 737573577, 737573733, 737573735, 737573737, 737573753, 737573755, 737573757, 737573773, 737573775, 737573777, 737575333, 737575335, 737575337, 737575353, 737575355, 737575357, 737575373, 737575375, 737575377, 737575533, 737575535, 737575537, 737575553, 737575555, 737575557, 737575573, 737575575, 737575577, 737575733, 737575735, 737575737, 737575753, 737575755, 737575757, 737575773, 737575775, 737575777, 737577333, 737577335, 737577337, 737577353, 737577355, 737577357, 737577373, 737577375, 737577377, 737577533, 737577535, 737577537, 737577553, 737577555, 737577557, 737577573, 737577575, 737577577, 737577733, 737577735, 737577737, 737577753, 737577755, 737577757, 737577773, 737577775, 737577777, 737733335, 737733353, 737733355, 737733357, 737733375, 737733533, 737733535, 737733537, 737733553, 737733555, 737733557, 737733573, 737733575, 737733577, 737733735, 737733753, 737733755, 737733757, 737733775, 737735333, 737735335, 737735337, 737735353, 737735355, 737735357, 737735373, 737735375, 737735377, 737735533, 737735535, 737735537, 737735553, 737735555, 737735557, 737735573, 737735575, 737735577, 737735733, 737735735, 737735737, 737735753, 737735755, 737735757, 737735773, 737735775, 737735777, 737737335, 737737353, 737737355, 737737357, 737737375, 737737533, 737737535, 737737537, 737737553, 737737555, 737737557, 737737573, 737737575, 737737577, 737737735, 737737753, 737737755, 737737757, 737737775, 737753333, 737753335, 737753337, 737753353, 737753355, 737753357, 737753373, 737753375, 737753377, 737753533, 737753535, 737753537, 737753553, 737753555, 737753557, 737753573, 737753575, 737753577, 737753733, 737753735, 737753737, 737753753, 737753755, 737753757, 737753773, 737753775, 737753777, 737755333, 737755335, 737755337, 737755353, 737755355, 737755357, 737755373, 737755375, 737755377, 737755533, 737755535, 737755537, 737755553, 737755555, 737755557, 737755573, 737755575, 737755577, 737755733, 737755735, 737755737, 737755753, 737755755, 737755757, 737755773, 737755775, 737755777, 737757333, 737757335, 737757337, 737757353, 737757355, 737757357, 737757373, 737757375, 737757377, 737757533, 737757535, 737757537, 737757553, 737757555, 737757557, 737757573, 737757575, 737757577, 737757733, 737757735, 737757737, 737757753, 737757755, 737757757, 737757773, 737757775, 737757777, 737773335, 737773353, 737773355, 737773357, 737773375, 737773533, 737773535, 737773537, 737773553, 737773555, 737773557, 737773573, 737773575, 737773577, 737773735, 737773753, 737773755, 737773757, 737773775, 737775333, 737775335, 737775337, 737775353, 737775355, 737775357, 737775373, 737775375, 737775377, 737775533, 737775535, 737775537, 737775553, 737775555, 737775557, 737775573, 737775575, 737775577, 737775733, 737775735, 737775737, 737775753, 737775755, 737775757, 737775773, 737775775, 737775777, 737777335, 737777353, 737777355, 737777357, 737777375, 737777533, 737777535, 737777537, 737777553, 737777555, 737777557, 737777573, 737777575, 737777577, 737777735, 737777753, 737777755, 737777757, 737777775, 753333333, 753333335, 753333337, 753333353, 753333355, 753333357, 753333373, 753333375, 753333377, 753333533, 753333535, 753333537, 753333553, 753333555, 753333557, 753333573, 753333575, 753333577, 753333733, 753333735, 753333737, 753333753, 753333755, 753333757, 753333773, 753333775, 753333777, 753335333, 753335335, 753335337, 753335353, 753335355, 753335357, 753335373, 753335375, 753335377, 753335533, 753335535, 753335537, 753335553, 753335555, 753335557, 753335573, 753335575, 753335577, 753335733, 753335735, 753335737, 753335753, 753335755, 753335757, 753335773, 753335775, 753335777, 753337333, 753337335, 753337337, 753337353, 753337355, 753337357, 753337373, 753337375, 753337377, 753337533, 753337535, 753337537, 753337553, 753337555, 753337557, 753337573, 753337575, 753337577, 753337733, 753337735, 753337737, 753337753, 753337755, 753337757, 753337773, 753337775, 753337777, 753353333, 753353335, 753353337, 753353353, 753353355, 753353357, 753353373, 753353375, 753353377, 753353533, 753353535, 753353537, 753353553, 753353555, 753353557, 753353573, 753353575, 753353577, 753353733, 753353735, 753353737, 753353753, 753353755, 753353757, 753353773, 753353775, 753353777, 753355333, 753355335, 753355337, 753355353, 753355355, 753355357, 753355373, 753355375, 753355377, 753355533, 753355535, 753355537, 753355553, 753355555, 753355557, 753355573, 753355575, 753355577, 753355733, 753355735, 753355737, 753355753, 753355755, 753355757, 753355773, 753355775, 753355777, 753357333, 753357335, 753357337, 753357353, 753357355, 753357357, 753357373, 753357375, 753357377, 753357533, 753357535, 753357537, 753357553, 753357555, 753357557, 753357573, 753357575, 753357577, 753357733, 753357735, 753357737, 753357753, 753357755, 753357757, 753357773, 753357775, 753357777, 753373333, 753373335, 753373337, 753373353, 753373355, 753373357, 753373373, 753373375, 753373377, 753373533, 753373535, 753373537, 753373553, 753373555, 753373557, 753373573, 753373575, 753373577, 753373733, 753373735, 753373737, 753373753, 753373755, 753373757, 753373773, 753373775, 753373777, 753375333, 753375335, 753375337, 753375353, 753375355, 753375357, 753375373, 753375375, 753375377, 753375533, 753375535, 753375537, 753375553, 753375555, 753375557, 753375573, 753375575, 753375577, 753375733, 753375735, 753375737, 753375753, 753375755, 753375757, 753375773, 753375775, 753375777, 753377333, 753377335, 753377337, 753377353, 753377355, 753377357, 753377373, 753377375, 753377377, 753377533, 753377535, 753377537, 753377553, 753377555, 753377557, 753377573, 753377575, 753377577, 753377733, 753377735, 753377737, 753377753, 753377755, 753377757, 753377773, 753377775, 753377777, 753533333, 753533335, 753533337, 753533353, 753533355, 753533357, 753533373, 753533375, 753533377, 753533533, 753533535, 753533537, 753533553, 753533555, 753533557, 753533573, 753533575, 753533577, 753533733, 753533735, 753533737, 753533753, 753533755, 753533757, 753533773, 753533775, 753533777, 753535333, 753535335, 753535337, 753535353, 753535355, 753535357, 753535373, 753535375, 753535377, 753535533, 753535535, 753535537, 753535553, 753535555, 753535557, 753535573, 753535575, 753535577, 753535733, 753535735, 753535737, 753535753, 753535755, 753535757, 753535773, 753535775, 753535777, 753537333, 753537335, 753537337, 753537353, 753537355, 753537357, 753537373, 753537375, 753537377, 753537533, 753537535, 753537537, 753537553, 753537555, 753537557, 753537573, 753537575, 753537577, 753537733, 753537735, 753537737, 753537753, 753537755, 753537757, 753537773, 753537775, 753537777, 753553333, 753553335, 753553337, 753553353, 753553355, 753553357, 753553373, 753553375, 753553377, 753553533, 753553535, 753553537, 753553553, 753553555, 753553557, 753553573, 753553575, 753553577, 753553733, 753553735, 753553737, 753553753, 753553755, 753553757, 753553773, 753553775, 753553777, 753555333, 753555335, 753555337, 753555353, 753555355, 753555357, 753555373, 753555375, 753555377, 753555533, 753555535, 753555537, 753555553, 753555555, 753555557, 753555573, 753555575, 753555577, 753555733, 753555735, 753555737, 753555753, 753555755, 753555757, 753555773, 753555775, 753555777, 753557333, 753557335, 753557337, 753557353, 753557355, 753557357, 753557373, 753557375, 753557377, 753557533, 753557535, 753557537, 753557553, 753557555, 753557557, 753557573, 753557575, 753557577, 753557733, 753557735, 753557737, 753557753, 753557755, 753557757, 753557773, 753557775, 753557777, 753573333, 753573335, 753573337, 753573353, 753573355, 753573357, 753573373, 753573375, 753573377, 753573533, 753573535, 753573537, 753573553, 753573555, 753573557, 753573573, 753573575, 753573577, 753573733, 753573735, 753573737, 753573753, 753573755, 753573757, 753573773, 753573775, 753573777, 753575333, 753575335, 753575337, 753575353, 753575355, 753575357, 753575373, 753575375, 753575377, 753575533, 753575535, 753575537, 753575553, 753575555, 753575557, 753575573, 753575575, 753575577, 753575733, 753575735, 753575737, 753575753, 753575755, 753575757, 753575773, 753575775, 753575777, 753577333, 753577335, 753577337, 753577353, 753577355, 753577357, 753577373, 753577375, 753577377, 753577533, 753577535, 753577537, 753577553, 753577555, 753577557, 753577573, 753577575, 753577577, 753577733, 753577735, 753577737, 753577753, 753577755, 753577757, 753577773, 753577775, 753577777, 753733333, 753733335, 753733337, 753733353, 753733355, 753733357, 753733373, 753733375, 753733377, 753733533, 753733535, 753733537, 753733553, 753733555, 753733557, 753733573, 753733575, 753733577, 753733733, 753733735, 753733737, 753733753, 753733755, 753733757, 753733773, 753733775, 753733777, 753735333, 753735335, 753735337, 753735353, 753735355, 753735357, 753735373, 753735375, 753735377, 753735533, 753735535, 753735537, 753735553, 753735555, 753735557, 753735573, 753735575, 753735577, 753735733, 753735735, 753735737, 753735753, 753735755, 753735757, 753735773, 753735775, 753735777, 753737333, 753737335, 753737337, 753737353, 753737355, 753737357, 753737373, 753737375, 753737377, 753737533, 753737535, 753737537, 753737553, 753737555, 753737557, 753737573, 753737575, 753737577, 753737733, 753737735, 753737737, 753737753, 753737755, 753737757, 753737773, 753737775, 753737777, 753753333, 753753335, 753753337, 753753353, 753753355, 753753357, 753753373, 753753375, 753753377, 753753533, 753753535, 753753537, 753753553, 753753555, 753753557, 753753573, 753753575, 753753577, 753753733, 753753735, 753753737, 753753753, 753753755, 753753757, 753753773, 753753775, 753753777, 753755333, 753755335, 753755337, 753755353, 753755355, 753755357, 753755373, 753755375, 753755377, 753755533, 753755535, 753755537, 753755553, 753755555, 753755557, 753755573, 753755575, 753755577, 753755733, 753755735, 753755737, 753755753, 753755755, 753755757, 753755773, 753755775, 753755777, 753757333, 753757335, 753757337, 753757353, 753757355, 753757357, 753757373, 753757375, 753757377, 753757533, 753757535, 753757537, 753757553, 753757555, 753757557, 753757573, 753757575, 753757577, 753757733, 753757735, 753757737, 753757753, 753757755, 753757757, 753757773, 753757775, 753757777, 753773333, 753773335, 753773337, 753773353, 753773355, 753773357, 753773373, 753773375, 753773377, 753773533, 753773535, 753773537, 753773553, 753773555, 753773557, 753773573, 753773575, 753773577, 753773733, 753773735, 753773737, 753773753, 753773755, 753773757, 753773773, 753773775, 753773777, 753775333, 753775335, 753775337, 753775353, 753775355, 753775357, 753775373, 753775375, 753775377, 753775533, 753775535, 753775537, 753775553, 753775555, 753775557, 753775573, 753775575, 753775577, 753775733, 753775735, 753775737, 753775753, 753775755, 753775757, 753775773, 753775775, 753775777, 753777333, 753777335, 753777337, 753777353, 753777355, 753777357, 753777373, 753777375, 753777377, 753777533, 753777535, 753777537, 753777553, 753777555, 753777557, 753777573, 753777575, 753777577, 753777733, 753777735, 753777737, 753777753, 753777755, 753777757, 753777773, 753777775, 753777777, 755333333, 755333335, 755333337, 755333353, 755333355, 755333357, 755333373, 755333375, 755333377, 755333533, 755333535, 755333537, 755333553, 755333555, 755333557, 755333573, 755333575, 755333577, 755333733, 755333735, 755333737, 755333753, 755333755, 755333757, 755333773, 755333775, 755333777, 755335333, 755335335, 755335337, 755335353, 755335355, 755335357, 755335373, 755335375, 755335377, 755335533, 755335535, 755335537, 755335553, 755335555, 755335557, 755335573, 755335575, 755335577, 755335733, 755335735, 755335737, 755335753, 755335755, 755335757, 755335773, 755335775, 755335777, 755337333, 755337335, 755337337, 755337353, 755337355, 755337357, 755337373, 755337375, 755337377, 755337533, 755337535, 755337537, 755337553, 755337555, 755337557, 755337573, 755337575, 755337577, 755337733, 755337735, 755337737, 755337753, 755337755, 755337757, 755337773, 755337775, 755337777, 755353333, 755353335, 755353337, 755353353, 755353355, 755353357, 755353373, 755353375, 755353377, 755353533, 755353535, 755353537, 755353553, 755353555, 755353557, 755353573, 755353575, 755353577, 755353733, 755353735, 755353737, 755353753, 755353755, 755353757, 755353773, 755353775, 755353777, 755355333, 755355335, 755355337, 755355353, 755355355, 755355357, 755355373, 755355375, 755355377, 755355533, 755355535, 755355537, 755355553, 755355555, 755355557, 755355573, 755355575, 755355577, 755355733, 755355735, 755355737, 755355753, 755355755, 755355757, 755355773, 755355775, 755355777, 755357333, 755357335, 755357337, 755357353, 755357355, 755357357, 755357373, 755357375, 755357377, 755357533, 755357535, 755357537, 755357553, 755357555, 755357557, 755357573, 755357575, 755357577, 755357733, 755357735, 755357737, 755357753, 755357755, 755357757, 755357773, 755357775, 755357777, 755373333, 755373335, 755373337, 755373353, 755373355, 755373357, 755373373, 755373375, 755373377, 755373533, 755373535, 755373537, 755373553, 755373555, 755373557, 755373573, 755373575, 755373577, 755373733, 755373735, 755373737, 755373753, 755373755, 755373757, 755373773, 755373775, 755373777, 755375333, 755375335, 755375337, 755375353, 755375355, 755375357, 755375373, 755375375, 755375377, 755375533, 755375535, 755375537, 755375553, 755375555, 755375557, 755375573, 755375575, 755375577, 755375733, 755375735, 755375737, 755375753, 755375755, 755375757, 755375773, 755375775, 755375777, 755377333, 755377335, 755377337, 755377353, 755377355, 755377357, 755377373, 755377375, 755377377, 755377533, 755377535, 755377537, 755377553, 755377555, 755377557, 755377573, 755377575, 755377577, 755377733, 755377735, 755377737, 755377753, 755377755, 755377757, 755377773, 755377775, 755377777, 755533333, 755533335, 755533337, 755533353, 755533355, 755533357, 755533373, 755533375, 755533377, 755533533, 755533535, 755533537, 755533553, 755533555, 755533557, 755533573, 755533575, 755533577, 755533733, 755533735, 755533737, 755533753, 755533755, 755533757, 755533773, 755533775, 755533777, 755535333, 755535335, 755535337, 755535353, 755535355, 755535357, 755535373, 755535375, 755535377, 755535533, 755535535, 755535537, 755535553, 755535555, 755535557, 755535573, 755535575, 755535577, 755535733, 755535735, 755535737, 755535753, 755535755, 755535757, 755535773, 755535775, 755535777, 755537333, 755537335, 755537337, 755537353, 755537355, 755537357, 755537373, 755537375, 755537377, 755537533, 755537535, 755537537, 755537553, 755537555, 755537557, 755537573, 755537575, 755537577, 755537733, 755537735, 755537737, 755537753, 755537755, 755537757, 755537773, 755537775, 755537777, 755553333, 755553335, 755553337, 755553353, 755553355, 755553357, 755553373, 755553375, 755553377, 755553533, 755553535, 755553537, 755553553, 755553555, 755553557, 755553573, 755553575, 755553577, 755553733, 755553735, 755553737, 755553753, 755553755, 755553757, 755553773, 755553775, 755553777, 755555333, 755555335, 755555337, 755555353, 755555355, 755555357, 755555373, 755555375, 755555377, 755555533, 755555535, 755555537, 755555553, 755555573, 755555733, 755555735, 755555737, 755555753, 755555773, 755557333, 755557335, 755557337, 755557353, 755557355, 755557357, 755557373, 755557375, 755557377, 755557533, 755557535, 755557537, 755557553, 755557573, 755557733, 755557735, 755557737, 755557753, 755557773, 755573333, 755573335, 755573337, 755573353, 755573355, 755573357, 755573373, 755573375, 755573377, 755573533, 755573535, 755573537, 755573553, 755573555, 755573557, 755573573, 755573575, 755573577, 755573733, 755573735, 755573737, 755573753, 755573755, 755573757, 755573773, 755573775, 755573777, 755575333, 755575335, 755575337, 755575353, 755575355, 755575357, 755575373, 755575375, 755575377, 755575533, 755575535, 755575537, 755575553, 755575573, 755575733, 755575735, 755575737, 755575753, 755575773, 755577333, 755577335, 755577337, 755577353, 755577355, 755577357, 755577373, 755577375, 755577377, 755577533, 755577535, 755577537, 755577553, 755577573, 755577733, 755577735, 755577737, 755577753, 755577773, 755733333, 755733335, 755733337, 755733353, 755733355, 755733357, 755733373, 755733375, 755733377, 755733533, 755733535, 755733537, 755733553, 755733555, 755733557, 755733573, 755733575, 755733577, 755733733, 755733735, 755733737, 755733753, 755733755, 755733757, 755733773, 755733775, 755733777, 755735333, 755735335, 755735337, 755735353, 755735355, 755735357, 755735373, 755735375, 755735377, 755735533, 755735535, 755735537, 755735553, 755735555, 755735557, 755735573, 755735575, 755735577, 755735733, 755735735, 755735737, 755735753, 755735755, 755735757, 755735773, 755735775, 755735777, 755737333, 755737335, 755737337, 755737353, 755737355, 755737357, 755737373, 755737375, 755737377, 755737533, 755737535, 755737537, 755737553, 755737555, 755737557, 755737573, 755737575, 755737577, 755737733, 755737735, 755737737, 755737753, 755737755, 755737757, 755737773, 755737775, 755737777, 755753333, 755753335, 755753337, 755753353, 755753355, 755753357, 755753373, 755753375, 755753377, 755753533, 755753535, 755753537, 755753553, 755753555, 755753557, 755753573, 755753575, 755753577, 755753733, 755753735, 755753737, 755753753, 755753755, 755753757, 755753773, 755753775, 755753777, 755755333, 755755335, 755755337, 755755353, 755755355, 755755357, 755755373, 755755375, 755755377, 755755533, 755755535, 755755537, 755755553, 755755573, 755755733, 755755735, 755755737, 755755753, 755755773, 755757333, 755757335, 755757337, 755757353, 755757355, 755757357, 755757373, 755757375, 755757377, 755757533, 755757535, 755757537, 755757553, 755757573, 755757733, 755757735, 755757737, 755757753, 755757773, 755773333, 755773335, 755773337, 755773353, 755773355, 755773357, 755773373, 755773375, 755773377, 755773533, 755773535, 755773537, 755773553, 755773555, 755773557, 755773573, 755773575, 755773577, 755773733, 755773735, 755773737, 755773753, 755773755, 755773757, 755773773, 755773775, 755773777, 755775333, 755775335, 755775337, 755775353, 755775355, 755775357, 755775373, 755775375, 755775377, 755775533, 755775535, 755775537, 755775553, 755775573, 755775733, 755775735, 755775737, 755775753, 755775773, 755777333, 755777335, 755777337, 755777353, 755777355, 755777357, 755777373, 755777375, 755777377, 755777533, 755777535, 755777537, 755777553, 755777573, 755777733, 755777735, 755777737, 755777753, 755777773, 757333333, 757333335, 757333337, 757333353, 757333355, 757333357, 757333373, 757333375, 757333377, 757333533, 757333535, 757333537, 757333553, 757333555, 757333557, 757333573, 757333575, 757333577, 757333733, 757333735, 757333737, 757333753, 757333755, 757333757, 757333773, 757333775, 757333777, 757335333, 757335335, 757335337, 757335353, 757335355, 757335357, 757335373, 757335375, 757335377, 757335533, 757335535, 757335537, 757335553, 757335555, 757335557, 757335573, 757335575, 757335577, 757335733, 757335735, 757335737, 757335753, 757335755, 757335757, 757335773, 757335775, 757335777, 757337333, 757337335, 757337337, 757337353, 757337355, 757337357, 757337373, 757337375, 757337377, 757337533, 757337535, 757337537, 757337553, 757337555, 757337557, 757337573, 757337575, 757337577, 757337733, 757337735, 757337737, 757337753, 757337755, 757337757, 757337773, 757337775, 757337777, 757353333, 757353335, 757353337, 757353353, 757353355, 757353357, 757353373, 757353375, 757353377, 757353533, 757353535, 757353537, 757353553, 757353555, 757353557, 757353573, 757353575, 757353577, 757353733, 757353735, 757353737, 757353753, 757353755, 757353757, 757353773, 757353775, 757353777, 757355333, 757355335, 757355337, 757355353, 757355355, 757355357, 757355373, 757355375, 757355377, 757355533, 757355535, 757355537, 757355553, 757355555, 757355557, 757355573, 757355575, 757355577, 757355733, 757355735, 757355737, 757355753, 757355755, 757355757, 757355773, 757355775, 757355777, 757357333, 757357335, 757357337, 757357353, 757357355, 757357357, 757357373, 757357375, 757357377, 757357533, 757357535, 757357537, 757357553, 757357555, 757357557, 757357573, 757357575, 757357577, 757357733, 757357735, 757357737, 757357753, 757357755, 757357757, 757357773, 757357775, 757357777, 757373333, 757373335, 757373337, 757373353, 757373355, 757373357, 757373373, 757373375, 757373377, 757373533, 757373535, 757373537, 757373553, 757373555, 757373557, 757373573, 757373575, 757373577, 757373733, 757373735, 757373737, 757373753, 757373755, 757373757, 757373773, 757373775, 757373777, 757375333, 757375335, 757375337, 757375353, 757375355, 757375357, 757375373, 757375375, 757375377, 757375533, 757375535, 757375537, 757375553, 757375555, 757375557, 757375573, 757375575, 757375577, 757375733, 757375735, 757375737, 757375753, 757375755, 757375757, 757375773, 757375775, 757375777, 757377333, 757377335, 757377337, 757377353, 757377355, 757377357, 757377373, 757377375, 757377377, 757377533, 757377535, 757377537, 757377553, 757377555, 757377557, 757377573, 757377575, 757377577, 757377733, 757377735, 757377737, 757377753, 757377755, 757377757, 757377773, 757377775, 757377777, 757533333, 757533335, 757533337, 757533353, 757533355, 757533357, 757533373, 757533375, 757533377, 757533533, 757533535, 757533537, 757533553, 757533555, 757533557, 757533573, 757533575, 757533577, 757533733, 757533735, 757533737, 757533753, 757533755, 757533757, 757533773, 757533775, 757533777, 757535333, 757535335, 757535337, 757535353, 757535355, 757535357, 757535373, 757535375, 757535377, 757535533, 757535535, 757535537, 757535553, 757535555, 757535557, 757535573, 757535575, 757535577, 757535733, 757535735, 757535737, 757535753, 757535755, 757535757, 757535773, 757535775, 757535777, 757537333, 757537335, 757537337, 757537353, 757537355, 757537357, 757537373, 757537375, 757537377, 757537533, 757537535, 757537537, 757537553, 757537555, 757537557, 757537573, 757537575, 757537577, 757537733, 757537735, 757537737, 757537753, 757537755, 757537757, 757537773, 757537775, 757537777, 757553333, 757553335, 757553337, 757553353, 757553355, 757553357, 757553373, 757553375, 757553377, 757553533, 757553535, 757553537, 757553553, 757553555, 757553557, 757553573, 757553575, 757553577, 757553733, 757553735, 757553737, 757553753, 757553755, 757553757, 757553773, 757553775, 757553777, 757555333, 757555335, 757555337, 757555353, 757555355, 757555357, 757555373, 757555375, 757555377, 757555533, 757555535, 757555537, 757555553, 757555573, 757555733, 757555735, 757555737, 757555753, 757555773, 757557333, 757557335, 757557337, 757557353, 757557355, 757557357, 757557373, 757557375, 757557377, 757557533, 757557535, 757557537, 757557553, 757557573, 757557733, 757557735, 757557737, 757557753, 757557773, 757573333, 757573335, 757573337, 757573353, 757573355, 757573357, 757573373, 757573375, 757573377, 757573533, 757573535, 757573537, 757573553, 757573555, 757573557, 757573573, 757573575, 757573577, 757573733, 757573735, 757573737, 757573753, 757573755, 757573757, 757573773, 757573775, 757573777, 757575333, 757575335, 757575337, 757575353, 757575355, 757575357, 757575373, 757575375, 757575377, 757575533, 757575535, 757575537, 757575553, 757575573, 757575733, 757575735, 757575737, 757575753, 757575773, 757577333, 757577335, 757577337, 757577353, 757577355, 757577357, 757577373, 757577375, 757577377, 757577533, 757577535, 757577537, 757577553, 757577573, 757577733, 757577735, 757577737, 757577753, 757577773, 757733333, 757733335, 757733337, 757733353, 757733355, 757733357, 757733373, 757733375, 757733377, 757733533, 757733535, 757733537, 757733553, 757733555, 757733557, 757733573, 757733575, 757733577, 757733733, 757733735, 757733737, 757733753, 757733755, 757733757, 757733773, 757733775, 757733777, 757735333, 757735335, 757735337, 757735353, 757735355, 757735357, 757735373, 757735375, 757735377, 757735533, 757735535, 757735537, 757735553, 757735555, 757735557, 757735573, 757735575, 757735577, 757735733, 757735735, 757735737, 757735753, 757735755, 757735757, 757735773, 757735775, 757735777, 757737333, 757737335, 757737337, 757737353, 757737355, 757737357, 757737373, 757737375, 757737377, 757737533, 757737535, 757737537, 757737553, 757737555, 757737557, 757737573, 757737575, 757737577, 757737733, 757737735, 757737737, 757737753, 757737755, 757737757, 757737773, 757737775, 757737777, 757753333, 757753335, 757753337, 757753353, 757753355, 757753357, 757753373, 757753375, 757753377, 757753533, 757753535, 757753537, 757753553, 757753555, 757753557, 757753573, 757753575, 757753577, 757753733, 757753735, 757753737, 757753753, 757753755, 757753757, 757753773, 757753775, 757753777, 757755333, 757755335, 757755337, 757755353, 757755355, 757755357, 757755373, 757755375, 757755377, 757755533, 757755535, 757755537, 757755553, 757755573, 757755733, 757755735, 757755737, 757755753, 757755773, 757757333, 757757335, 757757337, 757757353, 757757355, 757757357, 757757373, 757757375, 757757377, 757757533, 757757535, 757757537, 757757553, 757757573, 757757733, 757757735, 757757737, 757757753, 757757773, 757773333, 757773335, 757773337, 757773353, 757773355, 757773357, 757773373, 757773375, 757773377, 757773533, 757773535, 757773537, 757773553, 757773555, 757773557, 757773573, 757773575, 757773577, 757773733, 757773735, 757773737, 757773753, 757773755, 757773757, 757773773, 757773775, 757773777, 757775333, 757775335, 757775337, 757775353, 757775355, 757775357, 757775373, 757775375, 757775377, 757775533, 757775535, 757775537, 757775553, 757775573, 757775733, 757775735, 757775737, 757775753, 757775773, 757777333, 757777335, 757777337, 757777353, 757777355, 757777357, 757777373, 757777375, 757777377, 757777533, 757777535, 757777537, 757777553, 757777573, 757777733, 757777735, 757777737, 757777753, 757777773, 773333335, 773333353, 773333355, 773333357, 773333375, 773333533, 773333535, 773333537, 773333553, 773333555, 773333557, 773333573, 773333575, 773333577, 773333735, 773333753, 773333755, 773333757, 773333775, 773335333, 773335335, 773335337, 773335353, 773335355, 773335357, 773335373, 773335375, 773335377, 773335533, 773335535, 773335537, 773335553, 773335555, 773335557, 773335573, 773335575, 773335577, 773335733, 773335735, 773335737, 773335753, 773335755, 773335757, 773335773, 773335775, 773335777, 773337335, 773337353, 773337355, 773337357, 773337375, 773337533, 773337535, 773337537, 773337553, 773337555, 773337557, 773337573, 773337575, 773337577, 773337735, 773337753, 773337755, 773337757, 773337775, 773353333, 773353335, 773353337, 773353353, 773353355, 773353357, 773353373, 773353375, 773353377, 773353533, 773353535, 773353537, 773353553, 773353555, 773353557, 773353573, 773353575, 773353577, 773353733, 773353735, 773353737, 773353753, 773353755, 773353757, 773353773, 773353775, 773353777, 773355333, 773355335, 773355337, 773355353, 773355355, 773355357, 773355373, 773355375, 773355377, 773355533, 773355535, 773355537, 773355553, 773355555, 773355557, 773355573, 773355575, 773355577, 773355733, 773355735, 773355737, 773355753, 773355755, 773355757, 773355773, 773355775, 773355777, 773357333, 773357335, 773357337, 773357353, 773357355, 773357357, 773357373, 773357375, 773357377, 773357533, 773357535, 773357537, 773357553, 773357555, 773357557, 773357573, 773357575, 773357577, 773357733, 773357735, 773357737, 773357753, 773357755, 773357757, 773357773, 773357775, 773357777, 773373335, 773373353, 773373355, 773373357, 773373375, 773373533, 773373535, 773373537, 773373553, 773373555, 773373557, 773373573, 773373575, 773373577, 773373735, 773373753, 773373755, 773373757, 773373775, 773375333, 773375335, 773375337, 773375353, 773375355, 773375357, 773375373, 773375375, 773375377, 773375533, 773375535, 773375537, 773375553, 773375555, 773375557, 773375573, 773375575, 773375577, 773375733, 773375735, 773375737, 773375753, 773375755, 773375757, 773375773, 773375775, 773375777, 773377335, 773377353, 773377355, 773377357, 773377375, 773377533, 773377535, 773377537, 773377553, 773377555, 773377557, 773377573, 773377575, 773377577, 773377735, 773377753, 773377755, 773377757, 773377775, 773533333, 773533335, 773533337, 773533353, 773533355, 773533357, 773533373, 773533375, 773533377, 773533533, 773533535, 773533537, 773533553, 773533555, 773533557, 773533573, 773533575, 773533577, 773533733, 773533735, 773533737, 773533753, 773533755, 773533757, 773533773, 773533775, 773533777, 773535333, 773535335, 773535337, 773535353, 773535355, 773535357, 773535373, 773535375, 773535377, 773535533, 773535535, 773535537, 773535553, 773535555, 773535557, 773535573, 773535575, 773535577, 773535733, 773535735, 773535737, 773535753, 773535755, 773535757, 773535773, 773535775, 773535777, 773537333, 773537335, 773537337, 773537353, 773537355, 773537357, 773537373, 773537375, 773537377, 773537533, 773537535, 773537537, 773537553, 773537555, 773537557, 773537573, 773537575, 773537577, 773537733, 773537735, 773537737, 773537753, 773537755, 773537757, 773537773, 773537775, 773537777, 773553333, 773553335, 773553337, 773553353, 773553355, 773553357, 773553373, 773553375, 773553377, 773553533, 773553535, 773553537, 773553553, 773553555, 773553557, 773553573, 773553575, 773553577, 773553733, 773553735, 773553737, 773553753, 773553755, 773553757, 773553773, 773553775, 773553777, 773555333, 773555335, 773555337, 773555353, 773555355, 773555357, 773555373, 773555375, 773555377, 773555533, 773555535, 773555537, 773555553, 773555555, 773555557, 773555573, 773555575, 773555577, 773555733, 773555735, 773555737, 773555753, 773555755, 773555757, 773555773, 773555775, 773555777, 773557333, 773557335, 773557337, 773557353, 773557355, 773557357, 773557373, 773557375, 773557377, 773557533, 773557535, 773557537, 773557553, 773557555, 773557557, 773557573, 773557575, 773557577, 773557733, 773557735, 773557737, 773557753, 773557755, 773557757, 773557773, 773557775, 773557777, 773573333, 773573335, 773573337, 773573353, 773573355, 773573357, 773573373, 773573375, 773573377, 773573533, 773573535, 773573537, 773573553, 773573555, 773573557, 773573573, 773573575, 773573577, 773573733, 773573735, 773573737, 773573753, 773573755, 773573757, 773573773, 773573775, 773573777, 773575333, 773575335, 773575337, 773575353, 773575355, 773575357, 773575373, 773575375, 773575377, 773575533, 773575535, 773575537, 773575553, 773575555, 773575557, 773575573, 773575575, 773575577, 773575733, 773575735, 773575737, 773575753, 773575755, 773575757, 773575773, 773575775, 773575777, 773577333, 773577335, 773577337, 773577353, 773577355, 773577357, 773577373, 773577375, 773577377, 773577533, 773577535, 773577537, 773577553, 773577555, 773577557, 773577573, 773577575, 773577577, 773577733, 773577735, 773577737, 773577753, 773577755, 773577757, 773577773, 773577775, 773577777, 773733335, 773733353, 773733355, 773733357, 773733375, 773733533, 773733535, 773733537, 773733553, 773733555, 773733557, 773733573, 773733575, 773733577, 773733735, 773733753, 773733755, 773733757, 773733775, 773735333, 773735335, 773735337, 773735353, 773735355, 773735357, 773735373, 773735375, 773735377, 773735533, 773735535, 773735537, 773735553, 773735555, 773735557, 773735573, 773735575, 773735577, 773735733, 773735735, 773735737, 773735753, 773735755, 773735757, 773735773, 773735775, 773735777, 773737335, 773737353, 773737355, 773737357, 773737375, 773737533, 773737535, 773737537, 773737553, 773737555, 773737557, 773737573, 773737575, 773737577, 773737735, 773737753, 773737755, 773737757, 773737775, 773753333, 773753335, 773753337, 773753353, 773753355, 773753357, 773753373, 773753375, 773753377, 773753533, 773753535, 773753537, 773753553, 773753555, 773753557, 773753573, 773753575, 773753577, 773753733, 773753735, 773753737, 773753753, 773753755, 773753757, 773753773, 773753775, 773753777, 773755333, 773755335, 773755337, 773755353, 773755355, 773755357, 773755373, 773755375, 773755377, 773755533, 773755535, 773755537, 773755553, 773755555, 773755557, 773755573, 773755575, 773755577, 773755733, 773755735, 773755737, 773755753, 773755755, 773755757, 773755773, 773755775, 773755777, 773757333, 773757335, 773757337, 773757353, 773757355, 773757357, 773757373, 773757375, 773757377, 773757533, 773757535, 773757537, 773757553, 773757555, 773757557, 773757573, 773757575, 773757577, 773757733, 773757735, 773757737, 773757753, 773757755, 773757757, 773757773, 773757775, 773757777, 773773335, 773773353, 773773355, 773773357, 773773375, 773773533, 773773535, 773773537, 773773553, 773773555, 773773557, 773773573, 773773575, 773773577, 773773735, 773773753, 773773755, 773773757, 773773775, 773775333, 773775335, 773775337, 773775353, 773775355, 773775357, 773775373, 773775375, 773775377, 773775533, 773775535, 773775537, 773775553, 773775555, 773775557, 773775573, 773775575, 773775577, 773775733, 773775735, 773775737, 773775753, 773775755, 773775757, 773775773, 773775775, 773775777, 773777335, 773777353, 773777355, 773777357, 773777375, 773777533, 773777535, 773777537, 773777553, 773777555, 773777557, 773777573, 773777575, 773777577, 773777735, 773777753, 773777755, 773777757, 773777775, 775333333, 775333335, 775333337, 775333353, 775333355, 775333357, 775333373, 775333375, 775333377, 775333533, 775333535, 775333537, 775333553, 775333555, 775333557, 775333573, 775333575, 775333577, 775333733, 775333735, 775333737, 775333753, 775333755, 775333757, 775333773, 775333775, 775333777, 775335333, 775335335, 775335337, 775335353, 775335355, 775335357, 775335373, 775335375, 775335377, 775335533, 775335535, 775335537, 775335553, 775335555, 775335557, 775335573, 775335575, 775335577, 775335733, 775335735, 775335737, 775335753, 775335755, 775335757, 775335773, 775335775, 775335777, 775337333, 775337335, 775337337, 775337353, 775337355, 775337357, 775337373, 775337375, 775337377, 775337533, 775337535, 775337537, 775337553, 775337555, 775337557, 775337573, 775337575, 775337577, 775337733, 775337735, 775337737, 775337753, 775337755, 775337757, 775337773, 775337775, 775337777, 775353333, 775353335, 775353337, 775353353, 775353355, 775353357, 775353373, 775353375, 775353377, 775353533, 775353535, 775353537, 775353553, 775353555, 775353557, 775353573, 775353575, 775353577, 775353733, 775353735, 775353737, 775353753, 775353755, 775353757, 775353773, 775353775, 775353777, 775355333, 775355335, 775355337, 775355353, 775355355, 775355357, 775355373, 775355375, 775355377, 775355533, 775355535, 775355537, 775355553, 775355555, 775355557, 775355573, 775355575, 775355577, 775355733, 775355735, 775355737, 775355753, 775355755, 775355757, 775355773, 775355775, 775355777, 775357333, 775357335, 775357337, 775357353, 775357355, 775357357, 775357373, 775357375, 775357377, 775357533, 775357535, 775357537, 775357553, 775357555, 775357557, 775357573, 775357575, 775357577, 775357733, 775357735, 775357737, 775357753, 775357755, 775357757, 775357773, 775357775, 775357777, 775373333, 775373335, 775373337, 775373353, 775373355, 775373357, 775373373, 775373375, 775373377, 775373533, 775373535, 775373537, 775373553, 775373555, 775373557, 775373573, 775373575, 775373577, 775373733, 775373735, 775373737, 775373753, 775373755, 775373757, 775373773, 775373775, 775373777, 775375333, 775375335, 775375337, 775375353, 775375355, 775375357, 775375373, 775375375, 775375377, 775375533, 775375535, 775375537, 775375553, 775375555, 775375557, 775375573, 775375575, 775375577, 775375733, 775375735, 775375737, 775375753, 775375755, 775375757, 775375773, 775375775, 775375777, 775377333, 775377335, 775377337, 775377353, 775377355, 775377357, 775377373, 775377375, 775377377, 775377533, 775377535, 775377537, 775377553, 775377555, 775377557, 775377573, 775377575, 775377577, 775377733, 775377735, 775377737, 775377753, 775377755, 775377757, 775377773, 775377775, 775377777, 775533333, 775533335, 775533337, 775533353, 775533355, 775533357, 775533373, 775533375, 775533377, 775533533, 775533535, 775533537, 775533553, 775533555, 775533557, 775533573, 775533575, 775533577, 775533733, 775533735, 775533737, 775533753, 775533755, 775533757, 775533773, 775533775, 775533777, 775535333, 775535335, 775535337, 775535353, 775535355, 775535357, 775535373, 775535375, 775535377, 775535533, 775535535, 775535537, 775535553, 775535555, 775535557, 775535573, 775535575, 775535577, 775535733, 775535735, 775535737, 775535753, 775535755, 775535757, 775535773, 775535775, 775535777, 775537333, 775537335, 775537337, 775537353, 775537355, 775537357, 775537373, 775537375, 775537377, 775537533, 775537535, 775537537, 775537553, 775537555, 775537557, 775537573, 775537575, 775537577, 775537733, 775537735, 775537737, 775537753, 775537755, 775537757, 775537773, 775537775, 775537777, 775553333, 775553335, 775553337, 775553353, 775553355, 775553357, 775553373, 775553375, 775553377, 775553533, 775553535, 775553537, 775553553, 775553555, 775553557, 775553573, 775553575, 775553577, 775553733, 775553735, 775553737, 775553753, 775553755, 775553757, 775553773, 775553775, 775553777, 775555333, 775555335, 775555337, 775555353, 775555355, 775555357, 775555373, 775555375, 775555377, 775555533, 775555535, 775555537, 775555553, 775555573, 775555733, 775555735, 775555737, 775555753, 775555773, 775557333, 775557335, 775557337, 775557353, 775557355, 775557357, 775557373, 775557375, 775557377, 775557533, 775557535, 775557537, 775557553, 775557573, 775557733, 775557735, 775557737, 775557753, 775557773, 775573333, 775573335, 775573337, 775573353, 775573355, 775573357, 775573373, 775573375, 775573377, 775573533, 775573535, 775573537, 775573553, 775573555, 775573557, 775573573, 775573575, 775573577, 775573733, 775573735, 775573737, 775573753, 775573755, 775573757, 775573773, 775573775, 775573777, 775575333, 775575335, 775575337, 775575353, 775575355, 775575357, 775575373, 775575375, 775575377, 775575533, 775575535, 775575537, 775575553, 775575573, 775575733, 775575735, 775575737, 775575753, 775575773, 775577333, 775577335, 775577337, 775577353, 775577355, 775577357, 775577373, 775577375, 775577377, 775577533, 775577535, 775577537, 775577553, 775577573, 775577733, 775577735, 775577737, 775577753, 775577773, 775733333, 775733335, 775733337, 775733353, 775733355, 775733357, 775733373, 775733375, 775733377, 775733533, 775733535, 775733537, 775733553, 775733555, 775733557, 775733573, 775733575, 775733577, 775733733, 775733735, 775733737, 775733753, 775733755, 775733757, 775733773, 775733775, 775733777, 775735333, 775735335, 775735337, 775735353, 775735355, 775735357, 775735373, 775735375, 775735377, 775735533, 775735535, 775735537, 775735553, 775735555, 775735557, 775735573, 775735575, 775735577, 775735733, 775735735, 775735737, 775735753, 775735755, 775735757, 775735773, 775735775, 775735777, 775737333, 775737335, 775737337, 775737353, 775737355, 775737357, 775737373, 775737375, 775737377, 775737533, 775737535, 775737537, 775737553, 775737555, 775737557, 775737573, 775737575, 775737577, 775737733, 775737735, 775737737, 775737753, 775737755, 775737757, 775737773, 775737775, 775737777, 775753333, 775753335, 775753337, 775753353, 775753355, 775753357, 775753373, 775753375, 775753377, 775753533, 775753535, 775753537, 775753553, 775753555, 775753557, 775753573, 775753575, 775753577, 775753733, 775753735, 775753737, 775753753, 775753755, 775753757, 775753773, 775753775, 775753777, 775755333, 775755335, 775755337, 775755353, 775755355, 775755357, 775755373, 775755375, 775755377, 775755533, 775755535, 775755537, 775755553, 775755573, 775755733, 775755735, 775755737, 775755753, 775755773, 775757333, 775757335, 775757337, 775757353, 775757355, 775757357, 775757373, 775757375, 775757377, 775757533, 775757535, 775757537, 775757553, 775757573, 775757733, 775757735, 775757737, 775757753, 775757773, 775773333, 775773335, 775773337, 775773353, 775773355, 775773357, 775773373, 775773375, 775773377, 775773533, 775773535, 775773537, 775773553, 775773555, 775773557, 775773573, 775773575, 775773577, 775773733, 775773735, 775773737, 775773753, 775773755, 775773757, 775773773, 775773775, 775773777, 775775333, 775775335, 775775337, 775775353, 775775355, 775775357, 775775373, 775775375, 775775377, 775775533, 775775535, 775775537, 775775553, 775775573, 775775733, 775775735, 775775737, 775775753, 775775773, 775777333, 775777335, 775777337, 775777353, 775777355, 775777357, 775777373, 775777375, 775777377, 775777533, 775777535, 775777537, 775777553, 775777573, 775777733, 775777735, 775777737, 775777753, 775777773, 777333335, 777333353, 777333355, 777333357, 777333375, 777333533, 777333535, 777333537, 777333553, 777333555, 777333557, 777333573, 777333575, 777333577, 777333735, 777333753, 777333755, 777333757, 777333775, 777335333, 777335335, 777335337, 777335353, 777335355, 777335357, 777335373, 777335375, 777335377, 777335533, 777335535, 777335537, 777335553, 777335555, 777335557, 777335573, 777335575, 777335577, 777335733, 777335735, 777335737, 777335753, 777335755, 777335757, 777335773, 777335775, 777335777, 777337335, 777337353, 777337355, 777337357, 777337375, 777337533, 777337535, 777337537, 777337553, 777337555, 777337557, 777337573, 777337575, 777337577, 777337735, 777337753, 777337755, 777337757, 777337775, 777353333, 777353335, 777353337, 777353353, 777353355, 777353357, 777353373, 777353375, 777353377, 777353533, 777353535, 777353537, 777353553, 777353555, 777353557, 777353573, 777353575, 777353577, 777353733, 777353735, 777353737, 777353753, 777353755, 777353757, 777353773, 777353775, 777353777, 777355333, 777355335, 777355337, 777355353, 777355355, 777355357, 777355373, 777355375, 777355377, 777355533, 777355535, 777355537, 777355553, 777355555, 777355557, 777355573, 777355575, 777355577, 777355733, 777355735, 777355737, 777355753, 777355755, 777355757, 777355773, 777355775, 777355777, 777357333, 777357335, 777357337, 777357353, 777357355, 777357357, 777357373, 777357375, 777357377, 777357533, 777357535, 777357537, 777357553, 777357555, 777357557, 777357573, 777357575, 777357577, 777357733, 777357735, 777357737, 777357753, 777357755, 777357757, 777357773, 777357775, 777357777, 777373335, 777373353, 777373355, 777373357, 777373375, 777373533, 777373535, 777373537, 777373553, 777373555, 777373557, 777373573, 777373575, 777373577, 777373735, 777373753, 777373755, 777373757, 777373775, 777375333, 777375335, 777375337, 777375353, 777375355, 777375357, 777375373, 777375375, 777375377, 777375533, 777375535, 777375537, 777375553, 777375555, 777375557, 777375573, 777375575, 777375577, 777375733, 777375735, 777375737, 777375753, 777375755, 777375757, 777375773, 777375775, 777375777, 777377335, 777377353, 777377355, 777377357, 777377375, 777377533, 777377535, 777377537, 777377553, 777377555, 777377557, 777377573, 777377575, 777377577, 777377735, 777377753, 777377755, 777377757, 777377775, 777533333, 777533335, 777533337, 777533353, 777533355, 777533357, 777533373, 777533375, 777533377, 777533533, 777533535, 777533537, 777533553, 777533555, 777533557, 777533573, 777533575, 777533577, 777533733, 777533735, 777533737, 777533753, 777533755, 777533757, 777533773, 777533775, 777533777, 777535333, 777535335, 777535337, 777535353, 777535355, 777535357, 777535373, 777535375, 777535377, 777535533, 777535535, 777535537, 777535553, 777535555, 777535557, 777535573, 777535575, 777535577, 777535733, 777535735, 777535737, 777535753, 777535755, 777535757, 777535773, 777535775, 777535777, 777537333, 777537335, 777537337, 777537353, 777537355, 777537357, 777537373, 777537375, 777537377, 777537533, 777537535, 777537537, 777537553, 777537555, 777537557, 777537573, 777537575, 777537577, 777537733, 777537735, 777537737, 777537753, 777537755, 777537757, 777537773, 777537775, 777537777, 777553333, 777553335, 777553337, 777553353, 777553355, 777553357, 777553373, 777553375, 777553377, 777553533, 777553535, 777553537, 777553553, 777553555, 777553557, 777553573, 777553575, 777553577, 777553733, 777553735, 777553737, 777553753, 777553755, 777553757, 777553773, 777553775, 777553777, 777555333, 777555335, 777555337, 777555353, 777555355, 777555357, 777555373, 777555375, 777555377, 777555533, 777555535, 777555537, 777555553, 777555573, 777555733, 777555735, 777555737, 777555753, 777555773, 777557333, 777557335, 777557337, 777557353, 777557355, 777557357, 777557373, 777557375, 777557377, 777557533, 777557535, 777557537, 777557553, 777557573, 777557733, 777557735, 777557737, 777557753, 777557773, 777573333, 777573335, 777573337, 777573353, 777573355, 777573357, 777573373, 777573375, 777573377, 777573533, 777573535, 777573537, 777573553, 777573555, 777573557, 777573573, 777573575, 777573577, 777573733, 777573735, 777573737, 777573753, 777573755, 777573757, 777573773, 777573775, 777573777, 777575333, 777575335, 777575337, 777575353, 777575355, 777575357, 777575373, 777575375, 777575377, 777575533, 777575535, 777575537, 777575553, 777575573, 777575733, 777575735, 777575737, 777575753, 777575773, 777577333, 777577335, 777577337, 777577353, 777577355, 777577357, 777577373, 777577375, 777577377, 777577533, 777577535, 777577537, 777577553, 777577573, 777577733, 777577735, 777577737, 777577753, 777577773, 777733335, 777733353, 777733355, 777733357, 777733375, 777733533, 777733535, 777733537, 777733553, 777733555, 777733557, 777733573, 777733575, 777733577, 777733735, 777733753, 777733755, 777733757, 777733775, 777735333, 777735335, 777735337, 777735353, 777735355, 777735357, 777735373, 777735375, 777735377, 777735533, 777735535, 777735537, 777735553, 777735555, 777735557, 777735573, 777735575, 777735577, 777735733, 777735735, 777735737, 777735753, 777735755, 777735757, 777735773, 777735775, 777735777, 777737335, 777737353, 777737355, 777737357, 777737375, 777737533, 777737535, 777737537, 777737553, 777737555, 777737557, 777737573, 777737575, 777737577, 777737735, 777737753, 777737755, 777737757, 777737775, 777753333, 777753335, 777753337, 777753353, 777753355, 777753357, 777753373, 777753375, 777753377, 777753533, 777753535, 777753537, 777753553, 777753555, 777753557, 777753573, 777753575, 777753577, 777753733, 777753735, 777753737, 777753753, 777753755, 777753757, 777753773, 777753775, 777753777, 777755333, 777755335, 777755337, 777755353, 777755355, 777755357, 777755373, 777755375, 777755377, 777755533, 777755535, 777755537, 777755553, 777755573, 777755733, 777755735, 777755737, 777755753, 777755773, 777757333, 777757335, 777757337, 777757353, 777757355, 777757357, 777757373, 777757375, 777757377, 777757533, 777757535, 777757537, 777757553, 777757573, 777757733, 777757735, 777757737, 777757753, 777757773, 777773335, 777773353, 777773355, 777773357, 777773375, 777773533, 777773535, 777773537, 777773553, 777773555, 777773557, 777773573, 777773575, 777773577, 777773735, 777773753, 777773755, 777773757, 777773775, 777775333, 777775335, 777775337, 777775353, 777775355, 777775357, 777775373, 777775375, 777775377, 777775533, 777775535, 777775537, 777775553, 777775573, 777775733, 777775735, 777775737, 777775753, 777775773, 777777335, 777777353, 777777355, 777777357, 777777375, 777777533, 777777535, 777777537, 777777553, 777777573, 777777735, 777777753]
for (i, v) in enumerate(l):
	if v > n:
		print(i)
		break
else:
	print(i + 1)


import sys
sys.setrecursionlimit(10 ** 6)
n = int(input())

def res(v: int, all: list):
	if v > n:
		return
	if '3' in list(str(v)) and '5' in list(str(v)) and ('7' in list(str(v))):
		all.append(v)
	res(10 * v + 3, all)
	res(10 * v + 5, all)
	res(10 * v + 7, all)
all = []
res(3, all)
res(5, all)
res(7, all)
print(len(all))


n = int(input())
l = []

def dfs(num: list, nset: set, depth: int):
	nonlocal l
	if depth == 0:
		if '3' in nset and '5' in nset and ('7' in nset):
			l.append(int(''.join(num)))
	else:
		for c in ['3', '5', '7']:
			_num = num.copy()
			_nset = nset.copy()
			_num.append(c)
			_nset.add(c)
			dfs(_num, _nset, depth - 1)
for i in range(3, 11):
	dfs([], set(), i)
ans = 0
for i in range(len(l)):
	if n >= l[i]:
		ans += 1
print(ans)


N = int(input())

def f(x):
	if x != '' and int(x) > N:
		return 0
	n = 0
	if '3' in x and '5' in x and ('7' in x):
		n = 1
	for c in '357':
		n += f(x + c)
	return n
print(f(''))


import itertools
n = int(input())
l = ['7', '5', '3']
c = 0
for i in range(3, 10):
	for j in itertools.product(l, repeat=i):
		if len(set(j)) == 3 and int(''.join(j)) <= n:
			c += 1
print(c)


n = input()
import itertools as it
print(sum((len(set(p)) > 2 and int(''.join(p)) <= int(n) for i in range(len(n) + 1) for p in it.product('357', repeat=i))))


N = int(input())

def sft(s):
	if int(s) > N:
		return 0
	cnt = 1 if all((s.count(c) > 0 for c in '753')) else 0
	for c in '753':
		cnt += sft(s + c)
	return cnt
print(sft('0'))


X = int(input())

def momo(s):
	if int(s) > X:
		return 0
	nagi = 1 if all((s.count(c) > 0 for c in '753')) else 0
	for c in '753':
		nagi += momo(s + c)
	return nagi
print(momo('0'))


n = int(input())

def f(s):
	if int(s) > n:
		return 0
	ret = 1 if all((s.count(c) > 0 for c in '753')) else 0
	for c in '753':
		ret += f(s + c)
	return ret
print(f('0'))


N = int(input())

def dfs(s):
	if int(s) > N:
		return 0
	ret = 1 if len(set(s)) == 4 else 0
	for i in ('3', '5', '7'):
		ret += dfs(s + i)
	return ret
print(dfs('0'))


import bisect

def dfs(cnt, s, three, five, seven):
	if cnt == 10:
		return
	if s != '' and min(three, five, seven) > 0:
		v.append(int(s))
	dfs(cnt + 1, '3' + s, three + 1, five, seven)
	dfs(cnt + 1, '5' + s, three, five + 1, seven)
	dfs(cnt + 1, '7' + s, three, five, seven + 1)
v = []
dfs(0, '', 0, 0, 0)
v.sort()
n = int(input())
print(bisect.bisect_right(v, n))


N = int(input())

def f(num, use, counter):
	if num > N:
		return
	if use == 7:
		counter.append(1)
	f(num * 10 + 7, use | 1, counter)
	f(num * 10 + 5, use | 2, counter)
	f(num * 10 + 3, use | 4, counter)
ans = []
f(0, 0, ans)
print(sum(ans))


from itertools import product
n = int(input())

def gen357():
	for i in range(3, 11):
		for s in product('357', repeat=i):
			tmp = ''.join(s)
			if '3' in tmp and '5' in tmp and ('7' in tmp):
				yield int(''.join(s))
for (i, ans) in enumerate(gen357(), 1):
	if ans > n:
		print(i - 1)
		break


def dfs(li):
	if int(''.join(li)) > N:
		return 0
	ret = 1 if all((n in li for n in nums)) else 0
	for i in nums:
		ret += dfs(li + [i])
	return ret
N = int(input())
nums = ['3', '5', '7']
print(dfs(['0']))


from itertools import *
N = int(input())
S = []
ans = 0
for n in range(10):
	S += list(product('357', repeat=n))
for s in S:
	if len(set(s)) == 3 and int(''.join(s)) <= N:
		ans += 1
print(ans)


N = int(input())
ans = 0

def fn(x):
	global ans
	if int(x) > N:
		return
	if all((x.count(i) for i in '753')):
		ans += 1
	for i in '753':
		fn(x + i)
fn('0')
print(ans)


def dfs(n, lst, s):
	if int(s) > n:
		return
	if all([c in s for c in '753']):
		lst.append(s)
	for c in '753':
		dfs(n, lst, s + c)
lst = []
n = int(input())
for c in '753':
	dfs(n, lst, c)
print(len(lst))


def readinput():
	n = int(input())
	return n

def main(n):
	stock = []
	for _ in range(10):
		stock.append([])
	stock[0].append('')
	for m in range(1, 10):
		for i in range(len(stock[m - 1])):
			stock[m].append(stock[m - 1][i] + '3')
			stock[m].append(stock[m - 1][i] + '5')
			stock[m].append(stock[m - 1][i] + '7')
	count = 0
	for m in range(3, 10):
		for i in range(len(stock[m])):
			if int(stock[m][i]) <= n and '3' in stock[m][i] and ('5' in stock[m][i]) and ('7' in stock[m][i]):
				count += 1
	return count
S = []

def dfs(s):
	nonlocal S
	if len(s) > 10:
		return
	S.append(s)
	for c in '753':
		dfs(s + c)
	return

def main2(n):
	nonlocal S
	dfs('')
	count = 0
	for s in S:
		if s != '' and int(s) > n:
			continue
		if '3' in s and '5' in s and ('7' in s):
			count += 1
	return count

def __starting_point():
	n = readinput()
	ans = main2(n)
	print(ans)
__starting_point()


N = int(input())

def dsf(s):
	if int(s) > N:
		return 0
	ret = 1 if all((s.count(c) > 0 for c in '753')) else 0
	for c in '753':
		ret += dsf(s + c)
	return ret
print(dsf('0'))


n = int(input())

def doit(num):
	if num and int(num) > n:
		return 0
	count = all((d in num for d in '735'))
	for d in '735':
		count += doit(num + d)
	return count
print(doit(''))


N = int(input())

def dfs(x):
	ret = 0
	if int(x) > N:
		return 0
	if all((x.count(i) > 0 for i in '753')):
		ret += 1
	for i in '753':
		ret += dfs(x + i)
	return ret
print(dfs('0'))


def dfs(n, num):
	if int(num) > n:
		return 0
	ret = '3' in num and '5' in num and ('7' in num)
	for i in '357':
		ret += dfs(n, num + i)
	return ret
n = int(input())
print(dfs(n, '0'))


n = int(input())

def sss(a):
	if int(a) > n:
		return 0
	ans = 1 if all((a.count(i) > 0 for i in '753')) else 0
	for i in '753':
		ans += sss(a + i)
	return ans
print(sss('0'))


import itertools
n = input()
ans = 0
for i in range(3, len(n) + 1):
	ans += len([f for f in itertools.product('357', repeat=i) if len(set(f)) == 3 and int(''.join(f)) <= int(n)])
print(ans)


n = int(input())
ans = 0

def dfs(m):
	global ans
	if m > n:
		return
	sm = str(m)
	if '3' in sm and '5' in sm and ('7' in sm):
		ans += 1
	dfs(m * 10 + 3)
	dfs(m * 10 + 5)
	dfs(m * 10 + 7)
dfs(0)
print(ans)


n = int(input())

def f(s):
	if int(s) > n:
		return 0
	p = 0
	if '7' in s and '5' in s and ('3' in s):
		p = 1
	return f(s + '3') + f(s + '5') + f(s + '7') + p
print(f('0'))


k = int(input())

def the_algorithm(k, n, bit, count):
	if n > k:
		return count
	if bit == 7:
		count += 1
	count = the_algorithm(k, n * 10 + 7, bit | 1, count)
	count = the_algorithm(k, n * 10 + 5, bit | 2, count)
	count = the_algorithm(k, n * 10 + 3, bit | 4, count)
	return count
print(the_algorithm(k, 0, 0, 0))


n = input()
from itertools import product
sum = 0
for i in range(len(n) - 2):
	for j in list(product('753', repeat=i + 3)):
		if int(''.join(j)) <= int(n) and len(set(j)) == 3:
			sum += 1
print(sum)


from itertools import product
from collections import Counter
N = input()
res = 0
S = []
for i in range(1, len(N) + 1):
	for num in product('357', repeat=i):
		S.append(''.join(num))
for s in S:
	if len(Counter(s)) == 3 and int(s) <= int(N):
		res += 1
print(res)


n = int(input())

def dfs(s):
	if int(s) > n:
		return 0
	b = all(map(s.count, '357'))
	for c in '357':
		b += dfs(s + c)
	return b
print(dfs('0'))


N = int(input())
ans = 0

def dfs(v):
	global ans
	if v > N:
		return 0
	if len(set(str(v))) == 3:
		ans += 1
	for i in (3, 5, 7):
		dfs(v * 10 + i)
dfs(0)
print(ans)


n = int(input())

def dfs(x):
	if x > n:
		return 0
	cnt = 1 if all((str(x).count(a) > 0 for a in '753')) else 0
	for a in '753':
		cnt += dfs(int(str(x) + a))
	return cnt
print(dfs(0))


N = int(input())
A = ['3', '5', '7']
i = 0
while 1:
	now = A[i]
	if int(now + '3') <= N:
		A.append(now + '3')
	if int(now + '5') <= N:
		A.append(now + '5')
	if int(now + '7') <= N:
		A.append(now + '7')
	else:
		break
	i += 1
ans = 0
B = {'3', '5', '7'}
for a in A:
	if set(list(a)) & B == B:
		ans += 1
print(ans)


n = int(input())

def bfs(s):
	if int(s) > n:
		return 0
	return ('3' in s and '5' in s and ('7' in s)) + bfs(s + '3') + bfs(s + '5') + bfs(s + '7')
print(bfs('0'))


import itertools, bisect
num_list = []
for i in range(3, 10):
	num_list += list(itertools.product('753', repeat=i))
num = []
for nm in num_list:
	if '3' in nm and '5' in nm and ('7' in nm):
		num.append(int(''.join(nm)))
num.sort()
print(bisect.bisect_right(num, int(input())))


n = int(input())

def dfs(m):
	if m > n:
		return 0
	a = all((str(m).count(i) > 0 for i in '753')) + 0
	for i in [7, 5, 3]:
		a += dfs(m * 10 + i)
	return a
print(dfs(0))


n = int(input())
nums = '357'

def dfs(s):
	if int(s) > n:
		return 0
	res = int(all((num in s for num in nums)))
	for num in nums:
		res += dfs(s + num)
	return res
print(dfs('0'))


import itertools as t
N = int(input())
(a, X) = (0, [])
for j in range(len(str(N)) + 1):
	X += list(t.product((3, 5, 7), repeat=j))
for i in X:
	s = ''
	for j in i:
		s += str(j)
	if len(set(i)) == 3 and int(s) <= N:
		a += 1
print(a)


N = input()
ans = 0

def dfs(m):
	global ans
	if len(set(m)) == 3 and int(m) <= int(N):
		ans += 1
	if len(m) < len(N):
		for i in '357':
			dfs(m + i)
dfs('')
print(ans)


n = int(input())
a = []

def rec(x):
	nonlocal n, a
	for i in [3, 5, 7]:
		if x * 10 + i > n:
			continue
		s = str(x * 10 + i)
		if '3' in s and '5' in s and ('7' in s):
			a.append(x * 10 + i)
		rec(x * 10 + i)
for i in [3, 5, 7]:
	rec(i)
print(len(a))


n = int(input())

def dfs(s):
	if int(s) > n:
		return 0
	r = 1 if all((s.count(c) > 0 for c in '753')) else 0
	for c in '753':
		r += dfs(s + c)
	return r
print(dfs('0'))


N = int(input())
s = len(str(N))
ans = 0
import itertools
b1 = list(itertools.product('0357', repeat=s))
for k in b1:
	t = int(''.join(k))
	if N < t:
		break
	x = set(str(t))
	y = x - {'3', '5', '7'}
	if len(y) == 0 and len(x - y) == 3:
		ans += 1
print(ans)


limit = int(input())

def dfs(s):
	if int(s) > limit:
		return 0
	ret = 1 if all((s.count(c) > 0 for c in '753')) else 0
	for c in '753':
		ret += dfs(s + c)
	return ret
print(dfs('0'))


n = int(input())

def count_753(s):
	if int(s) > n:
		return 0
	ret = all((c in s for c in '753'))
	for c in '753':
		ret += count_753(s + c)
	return ret
print(count_753('0'))


N = int(input())
sts = {''}
for _ in range(len(str(N))):
	sts = sts | {s + t for t in '357' for s in sts}
print(len([int(s) for s in sts if '3' in s and '5' in s and ('7' in s) and (int(s) <= N)]))


from itertools import product
n = int(input())
ans = 0
for i in range(3, 10):
	l = list(product(['3', '5', '7'], repeat=i))
	for j in l:
		ans += int(''.join(list(j))) <= n and len(set(j)) == 3
print(ans)


import sys
IS = lambda : sys.stdin.readline().rstrip()
II = lambda : int(IS())

def main():
	n = II()

	def dfs(cur, use):
		counter = 0

		def dfs_(cur, use):
			nonlocal counter
			if cur > n:
				return None
			if use == 7:
				counter += 1
			dfs_(cur * 10 + 7, use | 1)
			dfs_(cur * 10 + 5, use | 2)
			dfs_(cur * 10 + 3, use | 4)
		dfs_(cur, use)
		return counter
	print(dfs(0, 0))

def __starting_point():
	main()
__starting_point()


N = int(input())

def dfs(s):
	if int(s) > N:
		return 0
	ret = 1 if all((s.count(c) > 0 for c in ['7', '5', '3'])) else 0
	for c in ['7', '5', '3']:
		ret += dfs(s + c)
	return ret
print(dfs('0'))


N = int(input())

def dfs(s):
	if int(s) > N:
		return 0
	r = 1 if all([i in s for i in '357']) else 0
	for c in '357':
		r += dfs(s + c)
	return r
print(dfs('0'))


def f(n):
	if n == 1:
		yield '7'
		yield '5'
		yield '3'
	else:
		for i in f(n - 1):
			yield (i + '7')
			yield (i + '5')
			yield (i + '3')
n = int(input())
ans = 0
for j in range(1, 10):
	for i in f(j):
		if len(set(i)) == 3 and int(i) <= n:
			ans += 1
print(ans)


n = int(input())
ln = len(str(n))
if ln == 10:
	ln = 9
res = 0
from collections import Counter
import itertools
seq = ('3', '5', '7')
for i in range(3, ln + 1):
	temp = list(itertools.product(seq, repeat=i))
	for j in temp:
		ja = Counter(j)
		if ja['3'] * ja['5'] * ja['7'] > 0:
			jj = ''.join(j)
			tempp = int(jj)
			if tempp <= n:
				res += 1
print(res)


n = int(input())

def is_753(a):
	check = {'7': 0, '5': 0, '3': 0}
	string = str(a)
	for i in range(len(str(a))):
		if not string[i] in ['7', '5', '3']:
			return False
		check[string[i]] += 1
	for v in check.values():
		if v == 0:
			return False
	return True
q = [3, 7, 5]
count = 0
while len(q) > 0:
	front = q.pop(0)
	if len(str(front)) >= 3 and is_753(front):
		count += 1
	for i in [3, 5, 7]:
		cand = int(str(i) + str(front))
		if cand <= n:
			q.append(cand)
print(count)


N = int(input())
dic = [3, 5, 7]
ans = set()

def dfs(s):
	if s:
		if int(s) <= N:
			if len(set(s)) == 3:
				ans.add(s)
		else:
			return
	dfs(s + '3')
	dfs(s + '5')
	dfs(s + '7')
dfs('')
print(len(ans))


n = input()

def abc(s):
	t = all(('3' in s, '5' in s, '7' in s))
	if len(s) < len(n):
		return abc(s + '3') + abc(s + '5') + abc(s + '7') + t
	elif s <= n:
		return t
	else:
		return 0
print(abc(''))


N = input()
n = int(N)
from itertools import product
print(sum([sum(['3' in p and '5' in p and ('7' in p) and (int(''.join(p)) <= n) for p in product('357', repeat=i + 1)]) for i in range(len(N))]))


x = int(input())

def sft(s):
	if int(s) > x:
		return 0
	if all((s.count(c) > 0 for c in '753')):
		ret = 1
	else:
		ret = 0
	for c in '753':
		ret += sft(s + c)
	return ret
print(sft('0'))


n = input()

def rec(i):
	if int(i) > int(n):
		return 0
	ret = 0
	if '3' in i and '5' in i and ('7' in i):
		ret += 1
	for j in ['3', '5', '7']:
		ret += rec(i + j)
	return ret
ans = 0
for i in ['3', '5', '7']:
	ans += rec(i)
print(ans)


N = int(input())
P = 0

def f(x):
	global N, P
	if x > N:
		return None
	s = str(x)
	if '7' in s and '5' in s and ('3' in s):
		P += 1
	f(x * 10 + 7)
	f(x * 10 + 5)
	f(x * 10 + 3)
f(7)
f(5)
f(3)
print(P)


import itertools

def main():
	n = int(input())
	tar_list = []
	cnt = 0
	for a in range(3, len(str(n)) + 1):
		target = list(itertools.product([3, 5, 7], repeat=a))
		for tar in target:
			tar_list = list(tar)
			if tar.count(3) > 0 and tar.count(5) > 0 and tar.count(7):
				ans = 0
				i = a - 1
				for ii in tar_list:
					ans += ii * 10 ** i
					i -= 1
				if ans <= n:
					cnt += 1
	print(cnt)

def __starting_point():
	main()
__starting_point()


from itertools import product
n_str = input()
n = int(n_str)
ans = 0
for i in range(3, len(n_str) + 1):
	for temp in list(product(['3', '5', '7'], repeat=i)):
		temp_set = set(temp)
		if '3' in temp_set and '5' in temp_set and ('7' in temp_set) and (int(''.join(temp)) <= n):
			ans += 1
print(ans)


import sys
sys.setrecursionlimit(10 ** 9)
N = input()
N_len = len(N)

def dfs(a, depth):
	if depth == N_len:
		if int(a) <= int(N) and a.count('3') > 0 and (a.count('5') > 0) and (a.count('7') > 0) and (str(int(a)).count('0') == 0):
			return 1
		else:
			return 0
	ret1 = dfs(a + '0', depth + 1)
	ret2 = dfs(a + '3', depth + 1)
	ret3 = dfs(a + '5', depth + 1)
	ret4 = dfs(a + '7', depth + 1)
	return ret1 + ret2 + ret3 + ret4
ans = dfs('', 0)
print(ans)


def generator(x, y):
	if 10 * x + 3 <= y:
		nums.append(10 * x + 3)
		nums.append(10 * x + 5)
		nums.append(10 * x + 7)
n = int(input())
nums = [3, 5, 7]
ans = 0
for num in nums:
	if num <= n and len(set(str(num))) == 3:
		ans += 1
	generator(num, n)
print(ans)


import math
from math import gcd, pi, sqrt
INF = float('inf')
import sys
sys.setrecursionlimit(10 ** 6)
import itertools
from collections import Counter, deque

def i_input():
	return int(input())

def i_map():
	return list(map(int, input().split()))

def i_list():
	return list(i_map())

def i_row(N):
	return [i_input() for _ in range(N)]

def i_row_list(N):
	return [i_list() for _ in range(N)]

def s_input():
	return input()

def s_map():
	return input().split()

def s_list():
	return list(s_map())

def s_row(N):
	return [s_input for _ in range(N)]

def s_row_str(N):
	return [s_list() for _ in range(N)]

def s_row_list(N):
	return [list(s_input()) for _ in range(N)]
import string

def main():
	N = i_input()
	k = len(str(N))
	ans = 0
	l = []

	def rec(n, k):
		k += 1
		if int(n) > N:
			return
		if '3' in n and '5' in n and ('7' in n):
			l.append(int(n))
		rec(n + '3', k)
		rec(n + '5', k)
		rec(n + '7', k)
	rec('0', 0)
	print(len(l))

def __starting_point():
	main()
__starting_point()


n = int(input())

def dfs(x):
	if int(x) > n:
		return 0
	ans = [0, 1][all((x.count(i) for i in '753'))]
	for i in '753':
		ans += dfs(x + i)
	return ans
print(dfs('0'))


import math
import itertools
import collections

def main():
	N = int(input())
	digit = math.floor(math.log10(N)) + 1
	if digit <= 2:
		print(0)
		return 0
	cnt = int(3 * (3 ** (digit - 1) - 2 ** (digit + 1) + 2 * digit + 1) / 2)
	num = ['3', '5', '7']
	cand = [''.join(list(x)) for x in itertools.product(num, repeat=digit)]
	for ca in cand:
		c = collections.Counter(ca)
		if c['3'] and c['5'] and c['7'] and (int(ca) <= N):
			cnt += 1
	print(cnt)
main()


import itertools
print(sum([sum([sum([N >= int(''.join(i)) for i in itertools.product('357', repeat=n) if '3' in i and '5' in i and ('7' in i)]) for n in range(3, 10)]) for N in [int(input())]]))


n = int(input())

def dfs(cur, use, cnt):
	if cur > n:
		return
	if use == 7:
		cnt.append(1)
	dfs(cur * 10 + 7, use | 1, cnt)
	dfs(cur * 10 + 5, use | 2, cnt)
	dfs(cur * 10 + 3, use | 4, cnt)
cnt = []
dfs(0, 0, cnt)
print(len(cnt))


n = int(input())

def dfs(s):
	if int(s) > n:
		return 0
	cnt = 0
	if all((i in s for i in '357')):
		cnt = 1
	for i in '357':
		cnt += dfs(s + i)
	return cnt
print(dfs('0'))


n = int(input())
ans = 0
list_N = [['3', '5', '7']]
for i in range(2, 10):
	d = []
	for a in list_N[-1]:
		for b in ['3', '5', '7']:
			k = b + a
			if n >= int(k) and '3' in k and ('5' in k) and ('7' in k):
				ans += 1
			d.append(k)
	list_N.append(d)
print(ans)


n = int(input())

def DFS(s):
	if int(s) > n:
		return 0
	tmp = 1 if all((s.count(c) for c in '753')) else 0
	for c in '753':
		tmp += DFS(s + c)
	return tmp
print(DFS('0'))


n = int(input())

def sgs(s):
	if n < int(s):
		return 0
	ret = 1 if all((s.count(i) > 0 for i in '357')) else 0
	for i in '357':
		ret += sgs(s + i)
	return ret
print(sgs('0'))


N = int(input())

def f(s):
	if int(s) > N:
		return 0
	if all([s.count(i) for i in '357']):
		ret = 1
	else:
		ret = 0
	for i in '357':
		ret += f(s + i)
	return ret
print(f('0'))


import bisect
a = [3, 5, 7]
c = [3, 5, 7]
for i in range(8):
	b = []
	for j in a:
		for k in range(3):
			b.append(int(str(j) + str(k * 2 + 3)))
			c.append(int(str(j) + str(k * 2 + 3)))
	a = b
n = int(input())

def is755(d):
	if len(set(list(str(d)))) < 3:
		return False
	else:
		return True
print(sum([i <= n and is755(i) for i in c]))


N = int(input())
count = 0
num_list = [['3', '5', '7']]
for i in range(2, 10):
	temp = []
	for j in num_list[-1]:
		for k in ['3', '5', '7']:
			l = k + j
			if N >= int(l) and '3' in l and ('5' in l) and ('7' in l):
				count += 1
			temp.append(l)
	num_list.append(temp)
print(count)


import sys
from math import factorial

def comb(n, r):
	return factorial(n) // factorial(r) // factorial(n - r)

def perm(n, r):
	return factorial(n) // factorial(r)

def resultSur97(x):
	return x % (10 ** 9 + 7)

def dfs(s, n):
	if int(s) > n:
		return 0
	if all((s.count(c) > 0 for c in '753')):
		ret = 1
	else:
		ret = 0
	for c in '753':
		ret += dfs(s + c, n)
	return ret

def __starting_point():
	a = int(input())
	print('{}'.format(dfs('0', a)))
__starting_point()


hutamoji_list = [[None] * 11 for i in range(3)]

def hutamoji(keta, one, two):
	nonlocal hutamoji_list
	if one * two == 15:
		index = 0
	elif one * two == 21:
		index = 1
	else:
		index = 2
	if hutamoji_list[index][keta] != None:
		return hutamoji_list[index][keta]
	ans = []
	if keta == 1:
		return ans
	for each in hutamoji(keta - 1, one, two):
		ans.append(one * 10 ** (keta - 1) + each)
		ans.append(two * 10 ** (keta - 1) + each)
	for i in [one, two]:
		for j in [one, two]:
			if i != j:
				ans.append(i * 10 ** (keta - 1) + int(str(j) * (keta - 1)))
	ans.sort()
	hutamoji_list[index][keta] = ans
	return ans

def sannmoji(keta):
	hitigosan = [3, 5, 7]
	ans = []
	if keta <= 2:
		return ans
	for each in sannmoji(keta - 1):
		for i in [3, 5, 7]:
			ans.append(i * 10 ** (keta - 1) + each)
	for (one, two, three) in [[3, 5, 7], [5, 3, 7], [7, 3, 5]]:
		hutas = hutamoji(keta - 1, two, three)
		for huta in hutas:
			ans.append(one * 10 ** (keta - 1) + huta)
	ans.sort()
	return ans
sannmoji(10)
n = input()
keta = len(n)
n = int(n)
ans = 0
for i in range(1, keta):
	ans += len(sannmoji(i))
for i in sannmoji(keta):
	if i <= n:
		ans += 1
	else:
		break
print(ans)


N = int(input())
L = [3, 5, 7]

def dfs(s):
	if s > N:
		return False
	str_s = str(s)
	return sum((dfs(s * 10 + i) for i in L)) + ('7' in str_s and '5' in str_s and ('3' in str_s))
print(dfs(0))


N = int(input())

def dfs(current, judge, count):
	if current > N:
		return
	if judge == 7:
		count.append(1)
	dfs(current * 10 + 7, judge | 4, count)
	dfs(current * 10 + 5, judge | 2, count)
	dfs(current * 10 + 3, judge | 1, count)
cnt = []
dfs(0, 0, cnt)
print(sum(cnt))


from itertools import product
n = int(input())
m = len(str(n))
ans = 0
for i in range(3, m + 1):
	l = list(product('753', repeat=i))
	for _ in l:
		x = ''.join(list(_))
		if '7' in x and '5' in x and ('3' in x):
			if n >= int(x):
				ans += 1
print(ans)


n = input()
l = len(n)
n = int(n)
data = [['0'] * l for i in range(4 ** l)]
for i in range(4 ** l):
	k = i
	for j in range(l):
		a = k // 4 ** (l - 1 - j)
		if a == 1:
			data[i][j] = '3'
		if a == 2:
			data[i][j] = '5'
		if a == 3:
			data[i][j] = '7'
		k %= 4 ** (l - 1 - j)
ans = 0
for u in data:
	num = int(''.join(u))
	if num <= n:
		num = str(num)
		if '0' not in num and '3' in num and ('5' in num) and ('7' in num):
			ans += 1
print(ans)


from math import gcd
from itertools import combinations, permutations, accumulate, product
from collections import deque, defaultdict, Counter
import decimal
import re
import math
import bisect
import heapq
import sys
sys.setrecursionlimit(10000000)
mod = 10 ** 9 + 7
INF = float('inf')
from sys import stdin
readline = stdin.readline

def readInts():
	return list(map(int, readline().split()))

def readTuples():
	return tuple(map(int, readline().split()))

def I():
	return int(readline())
n = I()
ans = 0

def dfs(v):
	if len(v) != 0:
		if int(v) > n:
			return
	if v.count('3') and v.count('5') and v.count('7'):
		nonlocal ans
		ans += 1
	for s in '357':
		v += s
		dfs(v)
		v = v[:-1]
dfs('')
print(ans)


def dfs(x, bit):
	if x > N:
		return 0
	res = bit == 7
	res += dfs(10 * x + 3, bit | 1)
	res += dfs(10 * x + 5, bit | 2)
	res += dfs(10 * x + 7, bit | 4)
	return res
N = int(input())
print(dfs(0, 0))


import itertools
N = input()
N_len = len(N)
N_int = int(N)
ans = 0
for i in range(3, 10):
	target = list(itertools.product([3, 5, 7], repeat=i))
	for t in target:
		s = ''.join(map(str, t))
		a = int(s)
		if a <= N_int and s.count('3') and s.count('5') and s.count('7'):
			ans += 1
print(ans)


import itertools
N = int(input())
count = 0
for i in range(3, len(str(N)) + 1):
	for j in itertools.product('753', repeat=i):
		if int(''.join(j)) <= N and '3' in str(j) and ('5' in str(j)) and ('7' in str(j)):
			count += 1
print(count)


class Solve:

	def __init__(self):
		self.N = int(input())
		self.key = len(str(self.N))
	ans = 0
	tmp = list()

	def solve(self):
		if self.tmp:
			s = ''.join(self.tmp)
			val = int(s)
			flag = True
			if val > self.N:
				flag = False
			if s.find('3') == -1:
				flag = False
			if s.find('5') == -1:
				flag = False
			if s.find('7') == -1:
				flag = False
			if flag:
				self.ans += 1
		if len(self.tmp) == self.key:
			return
		self.tmp.append('3')
		self.solve()
		self.tmp.pop()
		self.tmp.append('5')
		self.solve()
		self.tmp.pop()
		self.tmp.append('7')
		self.solve()
		self.tmp.pop()

	def print_ans(self):
		print(self.ans)
s = Solve()
s.solve()
s.print_ans()


n = int(input())
d = ['3', '5', '7']
ans = 0
while d:
	a = d.pop(0)
	if int(a) <= n and len(set(a)) == 3:
		ans += 1
	if len(a) < 9:
		for i in '357':
			d += [i + a]
print(ans)


N = int(input())

def dfs(n):
	if int(n) > N:
		return 0
	if '3' in n and '5' in n and ('7' in n):
		ret = 1
	else:
		ret = 0
	for c in '357':
		ret += dfs(n + c)
	return ret
print(dfs('0'))


from itertools import product
n = int(input())
ans = 0
for i in range(3, len(str(n)) + 1):
	for t in product(['3', '5', '7'], repeat=i):
		s = ''.join(t)
		if 1 <= int(s) <= n and len(set(s)) == 3:
			ans += 1
print(ans)


n = int(input())
c = 0

def a(i):
	if int(i) > n:
		return 0
	r = 1 if all((i.count(c) > 0 for c in '753')) else 0
	for c in '753':
		r += a(i + c)
	return r
print(a('0'))


from itertools import product
NS = input()
N = int(NS)

def iter_p_adic(n):
	from itertools import product
	tmp = [('3', '5', '7')] * n
	return product(*tmp)
ans = 0
for k in range(3, len(NS) + 1):
	for i in iter_p_adic(k):
		ls = list(i)
		if ls.count('3') > 0 and ls.count('5') > 0 and (ls.count('7') > 0) and (int(''.join(ls)) <= N):
			ans += 1
print(ans)


n = input()

def f(s):
	if int(s) > int(n):
		return 0
	if all(['3' in s, '5' in s, '7' in s]):
		ans.append(1)
	for t in ('3', '5', '7'):
		f(s + t)
ans = []
f('0')
print(sum(ans))


from collections import deque
N = int(input())
nums = ['3', '5', '7']
now = ''
q = deque(nums)
ans = 0
flag = True
while flag:
	n = q.popleft()
	for num in nums:
		tmp = n
		tmp += num
		if int(tmp) > N:
			flag = False
			break
		if '3' in tmp and '5' in tmp and ('7' in tmp):
			ans += 1
		q.append(tmp)
print(ans)


n = int(input())

def solve(s):
	if int(s) > n:
		return 0
	ret = 1 if all((s.count(i) for i in '753')) else 0
	for i in '753':
		ret += solve(s + i)
	return ret
print(solve('0'))


n = int(input())

def f(s):
	if int(s) > n:
		return 0
	t = 0
	if s.count('3') > 0 and s.count('5') > 0 and (s.count('7') > 0):
		t = 1
	return f(s + '7') + f(s + '5') + f(s + '3') + t
print(f('0'))


def f(v, K):
	nonlocal cnt
	v += str(K)
	if len(v) == len_ and int(v) <= N:
		if len(set(v)) == 3:
			cnt += 1
		return
	elif len(v) == len_:
		return
	f(v, 7)
	f(v, 5)
	f(v, 3)
N = int(input())
total = [0, 0]
for i in range(3, 10):
	temp = 3 ** i - (2 ** i * 3 - 3)
	total.append(temp)
len_ = len(str(N))
ans = sum(total[:len_ - 1])
cnt = 0
f('', '')
ans += cnt
print(ans)


n = int(input())
cnt = 0
l = ['3', '5', '7']

def sol(x, c):
	global cnt
	if int(x) <= n and all((y in x for y in l)):
		cnt += 1
	if c < 9:
		for y in l:
			sol(x + y, c + 1)
sol('0', 0)
print(cnt)


n = int(input())
import itertools as it
ans = 0
for i in range(11):
	for p in it.product(*['357'] * i):
		if len(set(p)) > 2 and int(''.join(p)) <= n:
			ans += 1
print(ans)


n = int(input())
que = [3, 5, 7]
ans = 0

def dfs(s):
	nonlocal ans
	if n < s:
		return
	s = str(s)
	if '3' in s and '5' in s and ('7' in s):
		ans += 1
	s = int(s)
	for i in que:
		dfs(10 * s + i)
	return ans
print(dfs(0))


n = int(input())

def dfs(x):
	if x != '' and n < int(x):
		return 0
	if set(x) == {'3', '5', '7'}:
		c = 1
	else:
		c = 0
	for i in '357':
		c += dfs(x + i)
	return c
print(dfs(''))


n = int(input())
ans = 0

def gen_pat(cur):
	nonlocal ans
	if int(cur) > n:
		return
	if len(set(cur)) == 4:
		ans += 1
	gen_pat(cur + '3')
	gen_pat(cur + '5')
	gen_pat(cur + '7')
gen_pat('0')
print(ans)


def dfs(x):
	if x > N:
		return 0
	res = 1 if all((c in str(x) for c in '753')) else 0
	for v in (3, 5, 7):
		res += dfs(10 * x + v)
	return res
N = int(input())
print(dfs(0))


n = int(input())

def dfs(count, s):
	if int(s) > n:
		return count
	if '3' in s and '5' in s and ('7' in s):
		count += 1
	for c in '357':
		count = dfs(count, s + c)
	return count
print(dfs(0, '0'))


N = input()
n = len(N)
ans = 0
if n < 3:
	print(0)
	return
if n > 3:
	for i in range(3, n):
		ans += 3 ** i - 3 * 2 ** i + 3
a = int(N[0])
if a > 3:
	ans += 3 ** (n - 1) - 2 * 2 ** (n - 1) + 1
if a > 5:
	ans += 3 ** (n - 1) - 2 * 2 ** (n - 1) + 1
if a > 7:
	ans += 3 ** (n - 1) - 2 * 2 ** (n - 1) + 1
b = int(N[1])
c = int(N[2])
if a == 3:
	if b > 3:
		ans += 3 ** (n - 2) - 2 * 2 ** (n - 2) + 1
	if b > 5:
		ans += 3 ** (n - 2) - 2 ** (n - 2)
	if b > 7:
		ans += 3 ** (n - 2) - 2 ** (n - 2)
	if b == 3:
		if c > 3:
			ans += 3 ** (n - 3) - 2 * 2 ** (n - 3) + 1
		if c > 5:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 7:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
	if b == 5:
		if c > 3:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 5:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 7:
			ans += 3 ** (n - 3)
	if b == 7:
		if c > 3:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 5:
			ans += 3 ** (n - 3)
		if c > 7:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
elif a == 5:
	if b > 3:
		ans += 3 ** (n - 2) - 2 ** (n - 2)
	if b > 5:
		ans += 3 ** (n - 2) - 2 * 2 ** (n - 2) + 1
	if b > 7:
		ans += 3 ** (n - 2) - 2 ** (n - 2)
	if b == 3:
		if c > 3:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 5:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 7:
			ans += 3 ** (n - 3)
	if b == 5:
		if c > 3:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 5:
			ans += 3 ** (n - 3) - 2 * 2 ** (n - 3) + 1
		if c > 7:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
	if b == 7:
		if c > 3:
			ans += 3 ** (n - 3)
		if c > 5:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 7:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
elif a == 7:
	if b > 3:
		ans += 3 ** (n - 2) - 2 ** (n - 2)
	if b > 5:
		ans += 3 ** (n - 2) - 2 ** (n - 2)
	if b > 7:
		ans += 3 ** (n - 2) - 2 * 2 ** (n - 2) + 1
	if b == 3:
		if c > 3:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 5:
			ans += 3 ** (n - 3)
		if c > 7:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
	if b == 5:
		if c > 3:
			ans += 3 ** (n - 3)
		if c > 5:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 7:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
	if b == 7:
		if c > 3:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 5:
			ans += 3 ** (n - 3) - 2 ** (n - 3)
		if c > 7:
			ans += 3 ** (n - 3) - 2 * 2 ** (n - 3) + 1
if (a == 3 or a == 5 or a == 7) and (b == 3 or b == 5 or b == 7) and (c == 3 or c == 5 or c == 7):
	d = (a * 100 + b * 10 + c) * 10 ** (n - 3)
	e = int(N) + 1
	t = {'3', '5', '7'}
	for i in range(d, e):
		u = set(str(i))
		if u == t:
			ans += 1
print(ans)


def func(N, cur, flg7, flg5, flg3):
	nonlocal count
	if cur > N:
		return
	if flg7 and flg5 and flg3:
		count += 1
	func(N, cur * 10 + 7, 1, flg5, flg3)
	func(N, cur * 10 + 5, flg7, 1, flg3)
	func(N, cur * 10 + 3, flg7, flg5, 1)
N = int(input())
count = 0
func(N, 0, 0, 0, 0)
print(count)


n = int(input())

def nngg(m):
	if int(m) > n:
		return 0
	ret = 1 if all((m.count(s) > 0 for s in '375')) else 0
	for s in '357':
		ret += nngg(m + s)
	return ret
print(nngg('0'))


N = int(input())

def dfs(x):
	if int('0' + x) > N:
		return 0
	retval = 1 if len(set(x)) == 3 else 0
	for c in '753':
		retval += dfs(x + c)
	return retval
print(dfs(''))


n = int(input())

def dfs(s):
	if int(s) > n:
		return 0
	cnt = [0, 1]['7' in s and '5' in s and ('3' in s)]
	for x in '753':
		cnt += dfs(s + x)
	return cnt
print(dfs('0'))


N = int(input())
Nstr = str(N)

def dfs(s):
	if int(s) > N:
		return 0
	ret = 1 if all((s.count(c) > 0 for c in '753')) else 0
	for c in '753':
		ret += dfs(s + c)
	return ret
print(dfs('0'))


n = int(input())

def Base_10_to_n(X, n):
	if int(X / n):
		return Base_10_to_n(int(X / n), n) + str(X % n)
	return str(X % n)
if n < 357:
	print(0)
else:
	ans = 0
	for i in range(3, 10):
		for j in range(3 ** i):
			a = ''
			val = Base_10_to_n(j, 3).zfill(i)
			for k in val:
				if k == '1':
					a += '3'
				elif k == '2':
					a += '5'
				else:
					a += '7'
			if len(set(a)) == 3 and n >= int(a):
				ans += 1
	print(ans)