def cb(message):
    rospy.loginfo((message.data * 2))
    print(rospy.loginfo)
    if ((message.data % 2) == 0):
        print('0')
    elif ((message.data % 2) != 0):
        print('1')
def cb(message):
    rospy.loginfo((message.data * 2))
    print(rospy.loginfo)
    if ((message.data % 2) == 0):
        print('0')
    elif ((message.data % 2) != 0):
        print('1')