using System.Collections.Generic;
public static void Main()
int dni =int.Parse(Console.ReadLine());
int ostavenahrana=int.Parse(Console.ReadLine());
int elen1=int.Parse(Console.ReadLine());
int elen2=int.Parse(Console.ReadLine());
int elen3=int.Parse(Console.ReadLine());
double obshto=2*(elen1+elen2+elen3);
Console.WriteLine("{0} more kilos of food are needed",Math.Flor(obshto-ostavenahrana));
Console.WriteLine("{0} kilos of food left",Math.Ceiling(ostavenahrana-obshto));