You will be given a definition of a task first, then some input of the task.
Given a passage and a query based on the passage, generate an unambiguous, concise and simple answer to the query from information in the passage. Note that the answer may not be present in exact form.

No reward of any kind was offered as an incentive for repeating the behavior. Subjects chose actions like running 15 minutes before dinner, eating a piece of fruit with lunch, or meditating. The median length of time it took for a habit to become automatic was 66 days. The range, however, was 18 to 254 days for the habit to be established. In fact, about half of the subjects did not perform their chosen action consistently enough to create a habit. Interestingly, increased repetition of an action does not always yield stronger habits. To successfully break a habit, you need to think of your strongest motivation, which will drive you along. Think of a 'replacement behaviour' for the habit, but make sure it’s a positive one - replacing smoking with snacking is a common trap, for example. And be patient. The longer you’ve had a habit, the longer it will take to get rid of it. For some, habits formed in as little as 18 days and for others it took as long as 254 days. There are of course obvious flaws in the study; the numbers are self-reported and it was only 96 participants in the study. Missing a single day did not reduce the chance of forming a habit. A sub-group took much longer than the others to form their habits, perhaps suggesting some people are ‘habit-resistant’. Other types of habits may well take much longer. No small change But for the rest of your life, you will have developed the habit of not putting your hand on hot stoves, or touching live electrical wires. The habit will have been formed instantly, and endure permanently. 21 Days to Break a Habit or Make a Habit. According to the experts, it takes about 21 days to break or form a habit pattern of medium complexity. It wasn’t based on any real study. It was anecdotal. Based more on his personal observations with his patients and self-image than anything related to habit formation and behavior. One example included how long amputees sensed phantom limbs. However, there are a few reasons why the myth persists. People still believe it’s true. Bookshops are filled with titles like Millionaire Habits in 21 Days, 21 Days to a Thrifty Lifestyle, 21 Days to Eating Better, and finally, the most optimistic of all: 21-Day Challenge: Change Almost Anything in 21 Days (at least it acknowledges that it might be a challenge!). It’s not just me saying this either; there is science to support it too. 1  In 2006, Verplanken (6) gave students one of two writing tasks. The first group simply had to underline ‘She/she’ every time they came across it in a piece of text. So how long does it take to change your life – or at least, to adopt a new habit? There is a myth that has lingered since the 1960s that it takes 21 days to change a habit or to adopt a new one. And just like that, we have the 21 day rule of habit development. When you dig into the science, it paints a different picture though, and in reality just like I’ve pointed in the loopholes above, there’s much more to it than the 21 day rule suggests. Query: how long does it take for a behavior to become a habit
Output:
It takes 66 days for a behavior to become a habit.