def _days_from_3744(hebrew_year):
<EOL>years_from_3744 = hebrew_year - <NUM_LIT><EOL>molad_3744 = get_chalakim(<NUM_LIT:1> + <NUM_LIT:6>, <NUM_LIT>)    <EOL>leap_months = (years_from_3744 * <NUM_LIT:7> + <NUM_LIT:1>) // <NUM_LIT><EOL>leap_left = (years_from_3744 * <NUM_LIT:7> + <NUM_LIT:1>) % <NUM_LIT>    <EOL>months = years_from_3744 * <NUM_LIT:12> + leap_months   <EOL>parts = months * PARTS_IN_MONTH + molad_3744<EOL>days = months * <NUM_LIT> + parts // PARTS_IN_DAY - <NUM_LIT:2><EOL>parts_left_in_week = parts % PARTS_IN_WEEK<EOL>parts_left_in_day = parts % PARTS_IN_DAY<EOL>week_day = parts_left_in_week // PARTS_IN_DAY<EOL>if ((leap_left < <NUM_LIT:12> and week_day == <NUM_LIT:3> and<EOL>parts_left_in_day >= get_chalakim(<NUM_LIT:9> + <NUM_LIT:6>, <NUM_LIT>)) or<EOL>(leap_left < <NUM_LIT:7> and week_day == <NUM_LIT:2> and<EOL>parts_left_in_day >= get_chalakim(<NUM_LIT:15> + <NUM_LIT:6>, <NUM_LIT>))):<EOL><INDENT>days += <NUM_LIT:1><EOL>week_day += <NUM_LIT:1><EOL><DEDENT>if week_day in (<NUM_LIT:1>, <NUM_LIT:4>, <NUM_LIT:6>):<EOL><INDENT>days += <NUM_LIT:1><EOL><DEDENT>return days<EOL>
Return: Number of days since 3,1,3744.