#!/bin/ruby t,b,f,c = gets.strip.split(' ') t = t.to_i b = b.to_i f = f.to_i c = c.to_i # your code goes here puts -1