Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- import sys
- R, X, Y = map(int, input().split())
- x, y, m = map(int, input().split())
- for i in range(2):
- x_new, y_new, m_new = map(int, input().split())
- if m_new < m:
- x = x_new
- y = y_new
- m = m_new
- d = math.sqrt((x - X) * (x - X) + (y - Y) * (y - Y))
- if d < R:
- print("What a beauty!")
- else:
- print("Time to move my telescope!")
- # x_a, y_a, m_a = int(input.split())
- # x_b, y_b, m_b = int(input.split())
- # x_c, y_c, m_c = int(input.split())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement