TeX Quotes
arr=[]
while 1:
try:
arr.append(list(input()))
except:
break
c=0
for i in range(len(arr)):
for j in range(len(arr[i])):
if arr[i][j]=='"' and c==0:
arr[i][j]='``'
c=1
elif arr[i][j]=='"' and c==1:
arr[i][j]="''"
c=0
print(arr[i][j],end="")
print()
Jolly Jumpers
while 1:
try:
a=list(map(int,input().split()))
a=a[1:]
ans=[]
c=0
for i in range(len(a)-1):
ans.append(abs(a[i]-a[i+1]))
ans=sorted(ans)
for i in range(len(ans)):
if (i+1)!=ans[i]:
c=1
break
if c==0:
print('Jolly')
else:
print('Not jolly')
except:
break