dividend = int(input())
divisor = int(input())
if ((dividend // divisor) % 2) == 0:
    print(False)
else:
    print(True)
a9a0605a66d663add46e709240a79357d386dd1a
<mask token>

<mask token>
if dividend // divisor % 2 == 0:
    print(False)
else:
    print(True)

dividend = int(input())
divisor = int(input())
if dividend // divisor % 2 == 0:
    print(False)
else:
    print(True)

dividend = int(input())
divisor = int(input())
if ((dividend // divisor) % 2) == 0:
    print(False)
else:
    print(True)