def journey_distance(n):
    km = 0
    if n >= 3:
        n -= 3
        km += 1
    while n != 0:
        n -= 2
        km += 1
    return km

a95d875b10c76f58cee4e4bb82e217ce67319abb
<mask token>

def journey_distance(n):
    km = 0
    if n >= 3:
        n -= 3
        km += 1
    while n != 0:
        n -= 2
        km += 1
    return km
