# # # # # # # # # # # p, b=input().split()
# # # # # # # # # #
# # # # # # # # # # # p=int(p)
# # # # # # # # # #
# # # # # # # # # # # b=int(b)
# # # # # # # # # #
# # # # # # # # # # # c=input()
# # # # # # # # # #
# # # # # # # # # # # c=int(c)
# # # # # # # # # #
# # # # # # # # # # # if b+c>=60 :
# # # # # # # # # #
# # # # # # # # # # # d=p*60+b+c
# # # # # # # # # #
# # # # # # # # # # # e=d//60
# # # # # # # # # #
# # # # # # # # # # # f=d%60
# # # # # # # # # #
# # # # # # # # # # # if e>=24 :
# # # # # # # # # #
# # # # # # # # # # # e=e-24
# # # # # # # # # #
# # # # # # # # # # # print(e, f)
# # # # # # # # # #
# # # # # # # # # # # else :
# # # # # # # # # #
# # # # # # # # # # # print (p, b+c)
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # a, b=input().split('-')
# # # # # # # # # #
# # # # # # # # # # # a=int(a)
# # # # # # # # # #
# # # # # # # # # # # b=int(b)
# # # # # # # # # #
# # # # # # # # # # # c=a//10000
# # # # # # # # # #
# # # # # # # # # # # d=a%10000//100
# # # # # # # # # #
# # # # # # # # # # # e=a%100
# # # # # # # # # #
# # # # # # # # # # # f=b//1000000
# # # # # # # # # #
# # # # # # # # # # # if f==1 or f==2 :
# # # # # # # # # #
# # # # # # # # # # # print('19', end='')
# # # # # # # # # #
# # # # # # # # # # # else :
# # # # # # # # # #
# # # # # # # # # # # print('20', end='')
# # # # # # # # # #
# # # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # print('%02d'%c, '/', '%02d'%d, '/', '%02d'%e, end='', sep='')
# # # # # # # # # #
# # # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # if f==1 or f==3 :
# # # # # # # # # #
# # # # # # # # # # # print(' M')
# # # # # # # # # #
# # # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # else :
# # # # # # # # # #
# # # # # # # # # # # print(' F')
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # print('%02d'%a) # a를 출력할 때, 두 칸을 차지해서 출력한다 (빈 칸은 0으로 채우기)
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # ''''
# # # # # # # # # #
# # # # # # # # # # 반복문
# # # # # # # # # #
# # # # # # # # # # 1. for
# # # # # # # # # #
# # # # # # # # # # 2. while
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # range(5) 0 이상 (5 미만) 1간격 0 1 2 3 4
# # # # # # # # # #
# # # # # # # # # # range(2,5) (2 이상 5 미만) 1간격 2 3 4
# # # # # # # # # #
# # # # # # # # # # range(0,10,2) (0 이상 10미만 2간격) 0 2 4 6 8
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # '''
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # for i in range(5) :
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # print(i)
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # for i in range(2,5) :
# # # # # # # # # #
# # # # # # # # # # # print(i)
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # 5번 반복하기
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # for i in range(5) :
# # # # # # # # # #
# # # # # # # # # # # print(i,'hello')
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # for i in range (1, 101) :
# # # # # # # # # #
# # # # # # # # # # # print(i,end=' ')
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # a=input()
# # # # # # # # # #
# # # # # # # # # # # a=int(a)
# # # # # # # # # #
# # # # # # # # # # # for i in range (1, a+1) :
# # # # # # # # # #
# # # # # # # # # # # print(i,end=' ')
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # a, b=input().split()
# # # # # # # # # #
# # # # # # # # # # # a=int(a)
# # # # # # # # # #
# # # # # # # # # # # b=int(b)
# # # # # # # # # #
# # # # # # # # # # # if a<b :
# # # # # # # # # #
# # # # # # # # # # # for i in range (a, b+1) :
# # # # # # # # # #
# # # # # # # # # # # print(i,end=' ')
# # # # # # # # # #
# # # # # # # # # # # else :
# # # # # # # # # #
# # # # # # # # # # # for i in range (b, a+1) :
# # # # # # # # # #
# # # # # # # # # # # print(i,end=' ')
# # # # # # # # # #
# # # # # # # # # # # ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
# # # # # # # # # #
# # # # # # # # # # # a, b=input().split()
# # # # # # # # # # # a=int(a)
# # # # # # # # # # # b=int(b)
# # # # # # # # # # # c=0
# # # # # # # # # # # for i in range(a,b+1) :
# # # # # # # # # # # if i%3==0 :
# # # # # # # # # # # c=c+i
# # # # # # # # # # # print(c)
# # # # # # # # # #
# # # # # # # # # # # 10으로 나눈 나머지==1
# # # # # # # # # #
# # # # # # # # # # # a=input()
# # # # # # # # # # # a=int(a)
# # # # # # # # # # # b=0
# # # # # # # # # # # for i in range(1,a+1) :
# # # # # # # # # # # if i%10==1 :
# # # # # # # # # # # b=b+1
# # # # # # # # # # # print(b)
# # # # # # # # # #
# # # # # # # # # # # a=input()
# # # # # # # # # # # a=int(a)
# # # # # # # # # # # for i in range (1, a+1) :
# # # # # # # # # # # if a%i==0 :
# # # # # # # # # # # print(i, end=' ')
# # # # # # # # # #
# # # # # # # # # # # a=input()
# # # # # # # # # # # a=int(a)
# # # # # # # # # # # b=0
# # # # # # # # # # # for i in range (1, a+1) :
# # # # # # # # # # # if a%i==0 :
# # # # # # # # # # # b+=1
# # # # # # # # # # # if b<=2 :
# # # # # # # # # # # print('prime')
# # # # # # # # # # # else :
# # # # # # # # # # # print('not prime')
# # # # # # # # # #
# # # # # # # # # # # a, b=map(int, input(). split())
# # # # # # # # # # # for i in range ()
# # # # # # # # # #
# # # # # # # # # # # 3 -> 2
# # # # # # # # # # # 4 -> 3
# # # # # # # # # # # 4.5 -> 3.5
# # # # # # # # # # # ............
# # # # # # # # # # # 5 -> 4
# # # # # # # # # # # 5.5 -> 4
# # # # # # # # # # # 6 -> 4
# # # # # # # # # # # --------------------------------------
# # # # # # # # # #
# # # # # # # # # # # o=0
# # # # # # # # # # # c=0
# # # # # # # # # # # for i in range (5):
# # # # # # # # # # # b, a=map(float, input(). split())
# # # # # # # # # # # if a-b-1<=0 :
# # # # # # # # # # # pass
# # # # # # # # # # # elif a-b-1>=4 :
# # # # # # # # # # # o=o+4
# # # # # # # # # # # else:
# # # # # # # # # # # o=o+(a-b-1)
# # # # # # # # # # # c=o*10000
# # # # # # # # # # # if o>=15:
# # # # # # # # # # # c=c*0.95
# # # # # # # # # # # elif o<=5:
# # # # # # # # # # # c=c*1.05
# # # # # # # # # # # c=int(c)
# # # # # # # # # # # print(c)
# # # # # # # # # #
# # # # # # # # # # # for i in range(5) :
# # # # # # # # # # # for j in range(3) :
# # # # # # # # # # # print('hello',end=' ')
# # # # # # # # # # # print(i, end=' ')
# # # # # # # # # # # print()
# # # # # # # # # #
# # # # # # # # # # # a=int(input())
# # # # # # # # # # # for i in range (1,a+1):
# # # # # # # # # # # print('*'*i)
# # # # # # # # # #
# # # # # # # # # # # a=int(input())
# # # # # # # # # # # for i in range (1,a+1):
# # # # # # # # # # # print('*'*i)
# # # # # # # # # #
# # # # # # # # # # # n = int(input())
# # # # # # # # # # #
# # # # # # # # # # # for i in range(n):
# # # # # # # # # # # for j in range(n):
# # # # # # # # # # # if i == 0 or j == 0 or i == n-1 or j == n-1:
# # # # # # # # # # # print('*', end='')
# # # # # # # # # # # else:
# # # # # # # # # # # print(' ', end='')
# # # # # # # # # # # print()
# # # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # # n = int(input())
# # # # # # # # # # #
# # # # # # # # # # # for i in range(n):
# # # # # # # # # # # for j in range(n):
# # # # # # # # # # # if i == 0 or j == 0 or i == n-1 or j == n-1 or i==j or i+j==n-1 or i==n/2-0.5 or j==n/2-0.5:
# # # # # # # # # # # print('*', end='')
# # # # # # # # # # # else:
# # # # # # # # # # # print(' ', end='')
# # # # # # # # # # # print()
# # # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # '''
# # # # # # # # # # (0,0) (0,1) (0,2) (0,3) (0,4)
# # # # # # # # # # (1,0) (1,1) (1,2) (1,3) (1,4)
# # # # # # # # # # (2,0) (2,1) (2,2) (2,3) (2,4)
# # # # # # # # # # (3,0) (3,1) (3,2) (3,3) (3,4)
# # # # # # # # # # (4,0) (4,1) (4,2) (4,3) (4,4)
# # # # # # # # # #
# # # # # # # # # #
# # # # # # # # # # lineA: (0,0), (1,1), (2,2), (3,3), (4,4):i==j
# # # # # # # # # # lineB: (0,4), (1,3), (2,2), (3,1), (4,0):i+j==n-1
# # # # # # # # # # i==
# # # # # # # # # #
# # # # # # # # # # '''
# # # # # # # # # #
# # # # # # # # # # a=int(input())
# # # # # # # # # # for i in range (a) :
# # # # # # # # # # print('*')
# # # # #
# # # #
# # # # class student :
# # # # def __init(self,code,name):
# # # # self.code = code
# # # # self.name = name
# # # #
# # # # def kill(code,l):
# # # # global m
# # # # for i in range(l):
# # # # if m[i] == code:
# # # # del m[i]
# # # #
# # # # n = int(input())
# # # # arr = []
# # # # m = []
# # # # k = []
# # # # for i in range(n):
# # # # q, w, e = input().split()
# # # # w = int(w)
# # # # if q == 'I':
# # # # if m.count(w) == 0 :
# # # # m.append(w)
# # # # k.append(e)
# # # # print(w,e,"add")
# # # # else:
# # # # if m.count(w) != 0:
# # # # idx = m.index(w)
# # # # del m[idx]
# # # # del k[idx]
# # # # m.sort()
# # # # print(m)
# # # # print(k)
# # #
# # #
# # # # class std:
# # # # def __init__(self, code, name):
# # # # self.code = code
# # # # self.name = name
# # #
# # # def is_in(w) :
# # # global d
# # # for j in range(len(d)):
# # # if d[j][0] == w:
# # # return j
# # # return -999
# # #
# # #
# # # n = int(input())
# # # d = []
# # # for i in range (n):
# # # q, w, e = input().split()
# # # w = int(w)
# # # # print(q,w,e)
# # # flag = is_in(w)
# # # #print(flag)
# # # if q=='I' and flag==-999 :
# # # d.append([w,e])
# # # elif q=='D' and flag!=-999 :
# # # del d[flag]
# # # k=list(map(int,input().split()))
# # # d.sort()
# # # # print(k)
# # # # print(d)
# # # for j in range(5):
# # # print(d[k[j]-1][0],d[k[j]-1][1])
# # #
# # # 3102 3117 3127
# # #
# #
# # d = []
# # n = int(input())
# # for i in range(n):
# # x = input()
# # if 'push' in x:
# # number = int(x[6:-2])
# # d.append(number)
# # elif 'top' in x:
# # if len(d) > 0:
# # print(d[len(d)-1])
# # else :
# # print("-1")
# # elif 'pop' in x:
# # if len(d) > 0:
# # d.pop()
# # elif 'size' in x:
# # print(len(d))
# # elif 'empty' in x:
# # if len(d) == 0:
# # print('true')
# # else:
# # print('false')
# # su = 0
# # d=[]
# # n = int(input())
# # for i in range(n):
# # q = int(input())
# # if q != 0:
# # d.append(q)
# # else:
# # d.pop()
# # for i in range(len(d)):
# # su += d[i]
# # print(su)
# arr=[]
# d = input().split(' ')
# #print(d)
# for i in range (len(d)):
# if d[i].isalnum() == True:
# arr.append(int(d[i]))
# else:
# if d[i]=='+':
# q = arr.pop()
# w = arr.pop()
# arr.append(q+w)
# elif d[i]=='-':
# q = arr.pop()
# w = arr.pop()
# arr.append(w-q)
# elif d[i]=='*':
# q = arr.pop()
# w = arr.pop()
# arr.append(q*w)
# print(arr[0])
p = input().split(' ')
q = input().split(' ')
# 점
p.append(p[0]+p[1])
p.append(p[2]+p[3])
q.append(q[0]+q[1])
q.append(q[2]+q[3])
# 선
#print(p)
#print(q)
cnt = 0
# if p[4]==q[4] or p[4]==q[5] or p[5]==q[4] or p[5]==q[5] :
# print("POINT")
# exit()
for i in range(4):
for j in range(4):
if p[i] == q[j]:
cnt+=1
print(cnt)
if cnt == 1:
print("LINE")
print("POINT")
elif cnt==2:
pass
top of page

기능을 테스트하려면 라이브 사이트로 이동하세요.
1122
1122
댓글 0개
좋아요
댓글(0)
bottom of page