program sample
	implicit none
    integer(8) ::a,b,c
    
    read(*,*) a,b,c
    
    if(a<b) then
    	write(*,*) (c-1)/b+1
    else
    	write(*,*) (c-1)/a+1
    end if
    
    stop
end program sample