import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); try { String[] box = read.readLine().split(" "); int[] cir = new int[3]; for (int i = 0; i < 3; ++i) { cir[i] = Math.abs(Integer.parseInt(box[i])); } double x = cir[0] + (cir[2] * 1.0 / Math.sqrt(2)); double y = cir[1] + (cir[2] * 1.0 / Math.sqrt(2)); int i; for (i = 0; true; ++i) { if (x + y < i) { break; } } System.out.println(i); } catch (Exception e) { e.printStackTrace(); } } }