/*********************************************
* 20.05.11 AtCoder Beginner Contest 157. A, B, C
* 
*
*********************************************/
/*********************************************
::test input::
*********************************************/

namespace TempName{
    using System;
    using System.Linq;
    using System.Collections.Generic;
    using System.Reflection;
    using static System.Console;
    using static IOmacro.CSharpInput; 
    using static IOmacro.CppInput;
    using static IOmacro.CConst;
    using static STLExtension.CppExtension;

    public class CRun{
        public readonly char problem_num = 'B';
        
        public void solve_1() {
            // A - Painting 
            // H,W필드
            // 처음엔 백색이었다 행 또는 열을 고르면 그 행 또는 열 전부 흑색
            // N개 이상의 필드가 흑색이 되기 위한 최소 실행 횟수는?
            
            int h = _int;
            int w = _int;
            int n = _int;
            
            
            int A = (h > w ? h : w);
            int ans = 0;
            ans = n / A;
            if (n % A > 0) ans ++;
            WriteLine(ans);
            
        }

        public void solve_2() {
            // B - Robot Arms 
            // 수직선상에 N개의 로봇이 설치되어있다
            // 각각의 로봇은 좌표 Xi에 설치되어있다
            // 좌우로 길이 Li의 팔을 뻗을 수 있음
            // 로봇의 팔이 공통부분을 갖지않는 경우에 최대 로봇의 수는?
            
            int qry_num = _int;
            var robot_lr = new Tuple<int, int>[qry_num];
            for (int i = 0; i < qry_num; i++) {
                int x = cin; int len = cin;
                robot_lr[i] = Tuple.Create(x - len, x + len);
            }
            
            Array.Sort(robot_lr, (x, y) => x.Item1 - y.Item1);
            Array.Sort(robot_lr, (x, y) => x.Item2 - y.Item2);
            
            int ans = 0;
            int left = -2012341234;
            for (int i = 0; i < qry_num; i++) {
                if (robot_lr[i].Item1 >= left) {
                    ans++;
                    left = robot_lr[i].Item2;
                }
            }
            
            WriteLine(ans);
        }

        public void solve_3() {
            
        }
        
        public void solve_4() {
            
        }
        
        public void solve_5() {
            
        }
        
        public void solve_6() {
            
        }
    }
    
    class Program { 
        static void Main() { 
            var run = new CRun();
            if (run.problem_num == 'A') run.solve_1(); 
            if (run.problem_num == 'B') run.solve_2(); 
            if (run.problem_num == 'C') run.solve_3();
            if (run.problem_num == 'D') run.solve_4();
            if (run.problem_num == 'E') run.solve_5();
            if (run.problem_num == 'F') run.solve_6();
        } 
    }
}

namespace IOmacro {
    //20.05.10. 수정
    
    using System; 
    using System.Linq; 
    using System.IO;
    using System.Collections.Generic;
    
    public class CSharpInput {
        public static StreamWriter _writer = new StreamWriter(Console.OpenStandardOutput());
        public const char separator = ' ';
        public static string _string{get{return Console.ReadLine();}}
        public static string[] _stringa{get{return (Console.ReadLine().Split(separator));}}
        public static int _int{get{return int.Parse(Console.ReadLine());}}
        public static int[] _inta{get{return Console.ReadLine().Split(separator).Select(int.Parse).ToArray();}}
        public static long _long{get{return long.Parse(Console.ReadLine());}}
        public static long[] _longa{get{return Console.ReadLine().Split(separator).Select(long.Parse).ToArray();}}    
        public static double _double{get{return double.Parse(Console.ReadLine());}}
        public static double[] _doublea{get{return Console.ReadLine().Split(separator).Select(double.Parse).ToArray();}}    
    }
    
    public class CConst {
        public static readonly int MINI = int.MaxValue;
        public static readonly long INF = Int64.MaxValue;
    }
    
    public class CppInput {
        public static CppInput cin => new CppInput();
        public const char separator = ' ';
        private static readonly Queue<string> _input = new Queue<string>();
        private CppInput(){}
        public static implicit operator string(CppInput _) {
            if (_input.Count == 0) Console.ReadLine().Split(separator).foreachExtension(x => _input.Enqueue(x));
            return _input.Dequeue();
        }
        public static implicit operator int(CppInput _){
            if (_input.Count == 0) Console.ReadLine().Split(separator).foreachExtension(x => _input.Enqueue(x));
            return int.Parse(_input.Dequeue());
        }
        public static implicit operator long(CppInput _){
            if (_input.Count == 0) Console.ReadLine().Split(separator).foreachExtension(x => _input.Enqueue(x));
            return long.Parse(_input.Dequeue());
        }
        public static implicit operator double(CppInput _){
            if (_input.Count == 0) Console.ReadLine().Split(separator).foreachExtension(x => _input.Enqueue(x));
            return double.Parse(_input.Dequeue());
        }
    }
    
    public static class EnumerableExtension {
        public delegate void Function<in T>(T val);
        public static void foreachExtension<T>(this IEnumerable<T> enumerable, Function<T> function) {
            foreach (var x in enumerable) function(x);
        }
    }
}

namespace STLExtension {
    using System;
    
    //20.05.05. 수정
    public class CppExtension {
        public static int PopCount(int n) {
            //A SWAR Algorithm for Popcount
            //비트의 1의 개수            
            int msb = 0;
            if (n < 0) { n &= int.MaxValue; msb = 1; }
            n = n - ((n >> 1) & 0x55555555);
            n = (n & 0x33333333) + ((n >> 2) & 0x33333333);
            return (int)(((n + (n >> 4) & 0xF0F0F0F) * 0x1010101) >> 24) + msb;
        }
        
    }
}


Measured memory_bytes: 22336