# correctness: 100%,  performance: 100%
import math

def solution(x, y, d):
  distance = y - x
  factor = math.ceil(float(distance)/d)
  return int(factor)


if __name__ == '__main__':
  tries = solution(10, 85, 30)
  print tries


