#!/bin/python3 import sys t,b,f,c = input().strip().split(' ') t,b,f,c = [int(t),int(b),int(f),int(c)] # your code goes here