#!/usr/bin/env python3 # NOTE: it is recommended to use this even if you don't understand the following code. import sys # uncomment the two following lines if you want to read/write from files # sys.stdin = open('input.txt') # sys.stdout = open('output.txt', 'w') topLeftX, topLeftY = map(int, input().strip().split()) topRightX, topRightY = map(int, input().strip().split()) bottomRightX, bottomRightY = map(int, input().strip().split()) bottomLeftX, bottomLeftY = map(int, input().strip().split()) N = int(input().strip()) X = [0 for i in range(N)] Y = [0 for i in range(N)] for i in range(N): X[i], Y[i] = map(int, input().strip().split()) K = 0 # INSERT YOUR CODE HERE print(K) sys.stdout.close()