#!/bin/python import sys t,b,f,c = raw_input().strip().split(' ') t,b,f,c = [int(t),int(b),int(f),int(c)] # your code goes here print -1