import random
n=int(input("Количество выстрелов:"))
count=0
for i in range(n):
    x=random.randint(-101,101)
    y=random.randint(-101,101)
    if x>=-7 and x<=5 and y>-8 and y<=5:
        count+=1
print("Количество попаданий", count)
