i= 1
while True:
	a=input()
	k=0
	if a=='0':
		break
	if i!=1:
		print()
	b=input()
	print("Instancia {}".format(i))
	i=i+1
	#k=(b.find(a))
	#if k>=0:
	if a in b :
		print("verdadeira")
	else:
		print("falsa")

7d70d3bbe57c900036c9cc1be3f791e842293bcf
<mask token>

<mask token>
while True:
    a = input()
    k = 0
    if a == '0':
        break
    if i != 1:
        print()
    b = input()
    print('Instancia {}'.format(i))
    i = i + 1
    if a in b:
        print('verdadeira')
    else:
        print('falsa')

i = 1
while True:
    a = input()
    k = 0
    if a == '0':
        break
    if i != 1:
        print()
    b = input()
    print('Instancia {}'.format(i))
    i = i + 1
    if a in b:
        print('verdadeira')
    else:
        print('falsa')

i= 1
while True:
	a=input()
	k=0
	if a=='0':
		break
	if i!=1:
		print()
	b=input()
	print("Instancia {}".format(i))
	i=i+1
	#k=(b.find(a))
	#if k>=0:
	if a in b :
		print("verdadeira")
	else:
		print("falsa")
