Skip to content
🤔 AI effective tips collection 🧠
question:Definition: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the count of all the numerical elements in the given list. Return 0 if no numerical element in the list.Input: ['183', '8025', 'B', '7415', '345', 'c', 'p', 'h', 'H', '9405', '2513', '6397', '1841', '855', '497', 'N', 'z', '8203', '1277', '8575', 'T', '3605', '8507', 't', '8177', 'B', '6989', '6143', '8009', 'p', 's', 'y', '5525', 'R', 'Y', '1011', '3013', '4427', '2899']Output:

answer:24

question:In this task, you're given a context, a sentence, and a character. The sentence describes an action or job of the given character. Also, the context provides more information about the sentence or the character. Your task is to write the character's motivation by doing a specific job, which is given in the sentence. You can use context to find the motivation; however, all the inputs do not provide context. Also, in some inputs, there can be zero motivation; output, 'None' in this case.One example: Context: Jake was frustrated from work. Sentence: He decided to go for a walk at night. Character: JackSolution is here: to have funExplanation: Jack was frustrated from work; so, little walk at night can refresh his mood and he can have fun.Now, solve this: Context: Anthony was riding on his skateboard. He decided to speed up when moving near a flight of stairs. Sentence: However, he tripped on a side rail and fell on his face. Character: I (myself)Solution:

answer:None

question:In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.SECTION 1. SHORT TITLE. This Act may be cited as the ``Back to Work Act of 2001''.SEC. 2. NATIONAL EMERGENCY GRANTS TO RESPOND TO THE TERRORIST ATTACKS OF SEPTEMBER 11, 2001. (a) In General.--Section 173(a) of the Workforce Investment Act of 1998 (29 U.S.C. 2918(a)) is amended-- (1) in paragraph (2), by striking ``and'' at the end; (2) in paragraph (3), by striking the period at the end and inserting ``; and''; and (3) by adding at the end the following: ``(4) to the Governor of any State who applies for assistance under subsection (f) to provide employment and training assistance to workers affected by major economic dislocations, such as plant closures, mass layoffs, or multiple layoffs, caused by the terrorist attacks of September 11, 2001.''. (b) Requirements.--Section 173 of the Workforce Investment Act of 1998 (29 U.S.C. 2918) is amended by adding at the end the following: ``(f) Relief for Dislocations Caused by the Terrorist Attacks of September 11, 2001.-- ``(1) Grant recipient eligibility.--To be eligible to receive a grant under subsection (a)(4), a Governor shall submit an application to the Secretary at such time, in such manner, and containing such information as the Secretary may require. Such application shall contain a certification by the Governor that the terrorist attacks of September 11, 2001, contributed importantly to plant closures, mass layoffs of workers, multiple layoffs of workers, or other major economic dislocations in the State. ``(2) State administration.--The Governor may designate one or more local workforce investment boards or other entities with the capability to respond to the circumstances relating to the particular closure, layoff, or other dislocation to administer the grant under subsection (a)(4). ``(3) Participant eligibility.-- ``(A) In general.--An individual shall be eligible to receive assistance described in subparagraph (B) under a grant awarded under subsection (a)(4) if such individual is a dislocated worker and the Governor has certified that the terrorist attacks of September 11, 2001, contributed importantly to the dislocation. ``(B) Types of assistance.--Assistance described in this subparagraph is-- ``(i) employment and training assistance, including employment and training activities described in section 134; and ``(ii) temporary health care coverage assistance described in paragraph (4). ``(4) Temporary health care coverage assistance.-- ``(A) In general.--Temporary health care coverage assistance described in this paragraph consists of health care coverage premium assistance provided to qualified individuals under this paragraph. ``(B) Qualified individuals.--For purposes of this paragraph, a qualified individual is an individual who-- ``(i) is a dislocated worker referred to in paragraph (3)(A) with respect to whom the Governor has made the certification regarding the dislocation as required under such paragraph, and ``(ii) has enrolled in a program for health care coverage premium assistance established by the Governor for purposes of this paragraph. ``(C) Provision of assistance.--Health care coverage premium assistance provided under the program established by the Governor for purposes of this paragraph-- ``(i) shall be not in excess of 75 percent of the full amount of the premium for the health care coverage, ``(ii) shall be provided with respect to not more than the first 10 months of the period of dislocation of the qualified individual, and ``(iii) shall be credited against the premium otherwise owed with respect to the qualified individual. ``(D) Limitation on entitlement.--Nothing in this subsection shall be construed as establishing any entitlement of qualified individuals to premium assistance under this subsection. ``(E) Definitions.--For purposes of this paragraph-- ``(i) Health care coverage.--The term `health care coverage' means health insurance coverage other than coverage under-- ``(I) title XVIII of the Social Security Act, ``(II) title XIX of the Social Security Act (other than section 1928), ``(III) title XXI of the Social Security Act, ``(IV) chapter 55 of title 10, United States Code, ``(V) chapter 17 of title 38, United States Code, ``(VI) chapter 89 of title 5, United States Code (other than coverage which is comparable to continuation coverage under section 4980B of the Internal Revenue Code of 1986), or ``(VII) the Indian Health Care Improvement Act. Such term also does not include coverage under a qualified long-term care insurance contract and health insurance coverage in the individual market. ``(ii) Premium.--The term `premium' means, in connection with health care coverage, the premium which would (but for this section) be charged for the cost of coverage. ``(5) Authorization of appropriations.-- ``(A) In general.--There is authorized to be appropriated 3,000,000,000 for fiscal year 2002 for the award of grants under subsection (a)(4) in accordance with this subsection. ``(B) Availability.--Amounts appropriated pursuant to the authorization of appropriations under subparagraph (A)-- ``(i) are in addition to amounts made available under section 132(a)(2)(A) or any other provision of law to carry out this section; and ``(ii) are authorized to remain available until 18 months after the date of the enactment of this subsection.''.SEC. 3. SENSE OF CONGRESS TO PROMOTE SERVICES UNDER THE WORKFORCE INVESTMENT ACT OF 1998. (a) Findings.--Congress finds the following: (1) In the wake of the terrorist attacks against the United States on September 11, 2001, many workers and their families are dealing with job loss and other effects of an economic slowdown. (2) The Workforce Investment Act of 1998 was enacted to create the Nation's coordinated workforce development system, under which assistance is provided for workers who have been laid off, including job training assistance. (3) The Workforce Investment Act of 1998 provides services such as-- (A) one-stop career centers, which provide integrated resources for job seekers and businesses, including job search, job placement services and job referrals to employers; (B) individual training accounts, which are job training vouchers established by local areas and given to individuals to allow them to choose where they would like to receive their job training; and (C) rapid response services, under which States establish on-site offices at affected businesses to make immediate contact with employees and employers to provide assistance in the areas of job search and training activities. (4) The Nation's workforce development system is designed to help individual dislocated workers and provide rapid response services in times of mass layoffs or dislocations. (b) Sense of Congress.--It is the sense of Congress that the Secretary of Labor should continue efforts to encourage Americans to take advantage of existing services under the Workforce Investment Act of 1998 in order to assist workers during these times of unemployment.Back to Work Act of 2001 - Amends the Workforce Investment Act of 1998 to authorize appropriations to expand the National Emergency Grant program, for an 18-month period, to include grants to States to provide certain employment and training assistance and temporary health care coverage premium assistance for workers affected by major economic dislocations, such as plant closures, mass layoffs, or multiple layoffs, caused by the terrorist attacks of September 11, 2001.Expresses the sense of Congress that the Secretary of Labor should continue efforts to encourage Americans to take advantage of existing services under the Workforce Investment Act of 1998 in order to assist workers during these times of unemployment.SECTION 1. SHORT TITLE. This Act may be cited as the ``Rural Law Enforcement Assistance Act of 1999''.SEC. 2. FUNDING TO NATIONAL CENTER FOR RURAL LAW ENFORCEMENT. (a) Funding Authority.--The Attorney General shall provide funds, subject to appropriations, to the National Center for Rural Law Enforcement if the Executive Director of the Center certifies, in writing, to the Attorney General that the Center-- (1) is incorporated in accordance with applicable State laws; (2) is in compliance with the by-laws of the Center; (3) shall use amounts made available under this section in accordance with subsection (b); and (4) shall not support any political party or candidate for elected or appointed office. (b) Uses of Funds.-- (1) Required uses of funds.--The Center shall use funds made available under this section to develop an educational program for employees of law enforcement agencies serving rural areas which shall include-- (A) the development and delivery of management education and training, technical assistance, practical research and evaluation, and computer and forensic education and training for employees of law enforcement agencies serving rural areas, tribal law enforcement employees and railroad law enforcement employees, including supervisory and executive managers of those agencies; (B) conducting research into the causes and prevention of criminal activity in rural areas, including the causes, assessment, evaluation, analysis, and prevention of criminal activity; (C) the development and dissemination of information designed to assist States and units of local government in rural areas throughout the United States; (D) the establishment and maintenance of a resource and information center for the collection, preparation, and dissemination of information regarding criminal justice and law enforcement in rural areas, including programs for the prevention of crime and recidivism; and (E) the delivery of assistance, in a consulting capacity, to criminal justice agencies in the development, establishment, maintenance, and coordination of programs, facilities and services, training, and research relating to crime in rural areas. (2) Permissive uses of funds.--The Center may use funds made available under this section to enhance the educational program developed under paragraph (1), through-- (A) educational opportunities for rural law enforcement agencies; (B) the development, promotion, and voluntary adoption of educational and training standards and accreditation certification programs for law enforcement agencies serving rural areas and the employees of those agencies; (C) grants to, and contracts with, State, and local governments, law enforcement agencies, public and private agencies, educational institutions, and other organizations and individuals to carry out this paragraph; (D) the formulation and recommendation of law enforcement policy, goals, and standards in rural areas applicable to criminal justice agencies, organizations, institutions, and personnel; and (E) coordination with institutions of higher education for the purpose of encouraging programs of study for law enforcement in rural areas at such institutions. (c) Powers.--In carrying out subsection (b), the Executive Director may-- (1) request the head of any Federal department or agency to detail, on a reimbursable basis, any of the personnel of that department or agency to the Center to assist it in carrying out its duties under this Act; (2) request the Administrator of the General Services Administration to provide the Center, on a reimbursable basis, the administrative support services necessary for the Center to carry out its responsibilities under this Act; and (3) procure temporary and intermittent services under section 3109(b) of title 5, United States Code, at rates of compensation established by the Board, but not to exceed the daily equivalent of the maximum rate of pay payable for a position at level IV of the Executive Schedule under section 5315 of title 5, United States Code. (d) Travel Expenses.--For purposes of official travel, expenses shall be reimbursed, including per diem in lieu of subsistence, in the same manner as such expenses are permitted under sections 5702 and 5703 of title 5, United States Code. (e) Reporting Requirements.--The Center shall submit an annual report to the Attorney General that includes-- (1) a description of the education and training program conducted by the Center; (2) the number and demographic representation of individuals who attended programs sponsored by the Center; (3) a description of the extent resources of other governmental agencies or private entities were used; and (5) a description of the extent contracts with other public and private resources were used. (f) Definitions.--For purposes of this Act: (1) The term ``Board'' means the members of the Board of the Center as elected according to its bylaws. (2) The term ``Center'' means the National Center for Rural Law Enforcement, a nonprofit corporation located in Little Rock, Arkansas. (3) The term ``Executive Director'' means the Executive Director of the Center as appointed according to the bylaws of the Center. (4) The term ``metropolitan statistical area'' has the same meaning given such term by the Bureau of the Census. (5) The term ``rural law enforcement agency'' means a law enforcement agency that serves a city, town, township, borough, or village outside a metropolitan statistical area. (g) Authorization of Appropriations.--There are authorized to be appropriated to carry out this section-- (1) 22,000,000 for fiscal year 2000; and (2) such sums as may be necessary for each of fiscal years 2001 through 2005.Rural Law Enforcement Assistance Act of 1999 - Directs the Attorney General to provide funds to the National Center for Rural Law Enforcement if the Center's Executive Director certifies in writing that the Center: (1) is incorporated in accordance with applicable State laws; (2) is in compliance with its by-laws; (3) shall use amounts made available in accordance with requirements of this Act; and (4) shall not support any political party or candidate for elected or appointed office. Requires the Center to use such funds to develop an educational program for employees of law enforcement agencies serving rural areas for specified purposes, including: (1) the development and delivery of management education and training for employees of law enforcement agencies serving rural areas; and (2) the delivery of assistance (in a consulting capacity) to criminal justice agencies in the development and coordination of programs, training, and research relating to crime in rural areas. Permits the Center to use such funds to enhance that educational program through specified means, including: (1) educational opportunities for rural law enforcement agencies; and (2) coordination with institutions of higher education to encourage programs of study for law enforcement in rural areas at such institutions. Sets forth reporting requirements. Authorizes appropriations.SECTION 1. SHORT TITLE. This Act may be cited as the ``Sex Crime Re-Entry EvaluatioN (SCREEN) Act of 2010''.SEC. 2. SENTENCE OF SPECIAL CONFINEMENT FOR THE PREVENTION OF SEXUAL PREDATION AUTHORIZED. Section 3551(b) of title 18, United States Code, is amended as follows: (1) in paragraph (2) by striking ``or''; (2) in paragraph (3) by striking the period at the end and inserting ``; or''; (3) inserting after paragraph (3) the following: ``(4) in the case of certain offenses, a term of special confinement for the prevention of sexual predation as authorized by subchapter E.''; and (4) adding after ``in addition to any other sentence.'' the following: ``A sentence to a term of special confinement for the prevention of sexual predation may be imposed in addition to a sentence to a term of imprisonment.''.SEC. 3. SENTENCE OF SPECIAL CONFINEMENT FOR THE PREVENTION OF SEXUAL PREDATION. Chapter 227 of title 18, United States Code, is amended by adding at the end the following: ``SUBCHAPTER E--SPECIAL CONFINEMENT FOR THE PREVENTION OF SEXUAL PREDATION``3587a. Sentence of special confinement for the prevention of sexual predation.``3587b. Effect of finality of judgment.``3587c. Right to hearing.``3587d. Hearings to determine status as a sexually dangerous person.``3587e. Commencement of sentence.``3587f. Definitions.``3587g. Implementation of a sentence of special confinement for the prevention of sexual predation.``Sec. 3587a. Sentence of special confinement for the prevention of sexual predation ``(a) In General.--The court may sentence to a term of special confinement for the prevention of sexual predation a defendant who-- ``(1) has been found guilty of a qualifying offense; and ``(2) has been sentenced to a term of imprisonment for that qualifying offense. ``(b) Qualifying Offenses.--For purposes of this section, a qualifying offense is any of the following: ``(1) An offense under section 2241. ``(2) An offense under section 2242. ``(3) An offense under section 2245. ``(4) An offense under section 2251(e). ``(c) Authorized Terms.--The authorized term of special confinement for the prevention of sexual predation is for the duration of the defendant's life.``Sec. 3587b. Effect of finality of judgment ``Notwithstanding the fact that a sentence to a term of special confinement for the prevention of sexual predation can subsequently be-- ``(1) corrected under rule 35 of the Federal Rules of Criminal Procedure and section 3742; or ``(2) appealed and modified under section 3742; a judgment of conviction that includes such a sentence constitutes a final judgment for all other purposes.``Sec. 3587c. Right to hearing ``The defendant shall have the right to a hearing to determine whether the defendant is a sexually dangerous person. That hearing shall be conducted not earlier than 180 days before the scheduled release of the defendant from the custody of the Bureau of Prisons after the term of imprisonment.``Sec. 3587d. Hearings to determine status as a sexually dangerous person ``(a) In General.--Any hearing to determine whether a person sentenced to a term of special confinement for the prevention of sexual predation is a sexually dangerous person for purposes of this subchapter or subchapter D of chapter 229 shall be conducted as provided under this section. ``(b) Disposition.--If the person establishes by clear and convincing evidence that the person is not a sexually dangerous person, the court shall set aside or terminate a sentence to a term of special confinement for the prevention of sexual predation and order the release of the person as soon as possible after the date that the person is released from the custody of the Bureau of Prisones after a term of imprisonment. ``(c) Examination and Report.--In conducting a hearing under this section, the court shall order an examination of the defendant by a licensed psychologist or psychiatrist to determine whether the person is a sexually dangerous person and a report on the results of that examination. ``(d) Rights of Person.-- ``(1) Except as provided in paragraph (2), a hearing under this section shall be conducted in same manner as a hearing under section 4247(d). ``(2) The person shall have the right to have the issue of whether that person is a sexually dangerous person determined by a jury impanelled pursuant to chapter 121 of title 28, United States Code. ``(e) Role of the Government.--In a hearing under this section, the attorney for the Government may present evidence, subpoena witnesses, and confront and cross-examine witnesses.``Sec. 3587e. Commencement of sentence ``A sentence to a term of special confinement for the prevention of sexual predation commences on the date that the defendant is released from the custody of the Bureau of Prisons after a term of imprisonment.``Sec. 3587f. Definitions ``(a) In General.--Except as otherwise provided in this subchapter, terms used in this subchapter have the meanings given such terms in section 4247. ``(b) Sexually Dangerous Person.--For purposes of this subchapter, the term `sexually dangerous person' means an individual who has been convicted of a sexual offense that includes violent conduct as an element of the offense, and who suffers from a mental, behavioral, or emotional disorder affecting the emotional or volitional capacity which predisposes that individual toward engaging in violent sexual acts to a degree constituting such individual a menace to the health and safety of others.``Sec. 3587g. Implementation of a sentence of special confinement for the prevention of sexual predation ``The implementation of a sentence of special confinement for the prevention of sexual predation is governed by the provisions of subchapter D of chapter 229.''.SEC. 4. POSTSENTENCE ADMINISTRATION. Chapter 229 of title 18, United States Code, is amended by adding at the end the following: ``SUBCHAPTER D--SPECIAL CONFINEMENT FOR THE PREVENTION OF SEXUAL PREDATION``3631. Special confinement for the prevention of sexual predation.``3632. Annual hearings.``3633. Definitions.``Sec. 3631. Special confinement for the prevention of sexual predation ``(a) In General.--A person who has been sentenced to a term of special confinement for the prevention of sexual predation pursuant to the provisions of subchapter E of chapter 227 shall be treated as provided under subsection (b). The person shall be committed to the custody of the Attorney General until-- ``(1) the expiration of the term imposed; ``(2) the earlier release of the person pursuant to a hearing under section 3587d; or ``(3) the transfer of that person to the custody of a State pursuant to subsection (c). ``(b) Placement in a Suitable Facility.--If no State assumes custody and responsibility of the defendant under subsection (c), the Attorney General shall place the defendant in a suitable facility for treatment. ``(c) State Custody.--If the State in which the person was domiciled or tried will assume custody of the person and responsibility for carrying out the sentence of special confinement for the prevention of sexual predation in a manner consistent with the conditions described in section 3632, the Attorney General shall commit the defendant to the custody of that State. The Attorney General shall make every reasonable effort to cause that State to assume such custody and responsibility.``Sec. 3632. Annual hearings ``(a) Commenced by Confined Person.--The confined person has the right to not more than one hearing under section 3587d to determine whether the confined person is a sexually dangerous person for each year that person is confined. ``(b) Commenced by Supervisor Certification.--Not more than once each year, the supervisor of the facility in which the confined person is confined may commence a hearing under section 3587d to determine whether the confined person is a sexually dangerous person by filing with the court a certificate stating that the supervisor believes that person is not a sexually dangerous person.``Sec. 3633. Definitions ``Terms used in this subchapter have the same meanings as terms under subchapter E of chapter 227.''.SEC. 5. SENTENCE OF SPECIAL CONFINEMENT FOR THE PREVENTION OF SEXUAL PREDATION IMPOSED FOR CERTAIN OFFENSES. (a) Aggravated Sexual Abuse.--Section 2241 of title 18, United States Code, is amended by adding at the end the following: ``(e) Additional Punishment.--Whoever commits an offense under this section and is sentenced to a term of imprisonment shall, in addition, be punished by special confinement for the prevention of sexual predation for life.''. (b) Sexual Abuse.--Section 2242 of title 18, United States Code, is amended by adding at the end the following: ``Whoever commits an offense under this section and is sentenced to a term of imprisonment shall, in addition, be punished by special confinement for the prevention of sexual predation for life.''. (c) Offenses Resulting in Death.--Section 2245(a) of title 18, United States Code, is amended by adding at the end the following: ``Whoever commits an offense under this section and is sentenced to a term of imprisonment shall, in addition, be punished by special confinement for the prevention of sexual predation for life.''. (d) Sexual Exploitation of Children.--Section 2251(e) of title 18, United States Code, is amended by adding at the end the following: ``Whoever commits an offense under this section and is sentenced to a term of imprisonment shall, in addition, be punished by special confinement for the prevention of sexual predation for life.''.

answer:Sex Crime Re-Entry EvaluatioN (SCREEN) Act of 2010 - Amends the federal criminal code to allow a court to impose on a defendant who has been convicted of a serious sex crime, including aggravated sexual abuse, sex-related murder, and sexual exploitation of children, a term of special confinement, in addition to the sentence for the underlying crime, to prevent sexual predation. Authorizes the term of such confinement to be the life of the defendant. Allows such defendant the right to one hearing per year after confinement to determine whether such defendant is a sexually dangerous person.

question:Definition: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into four classes: Religious, Political, Geopolitical and Personal depending on the topic.Input: জামাত মানে যদি রাজাকার হয় তাহলে আলীগ মানে কুত্তার চোদা Output:

answer:Political

question:Definition: In this task, you are given inputs i, j, and A, where i and j are integers and A is a list. You need to find all elements of A from the ith element to the jth element, reverse the order in which they occur, and then concatenate them to output the resultant string. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j. Perform the operations in order, i.e., do not concatenate the elements and then reverse the string.Input: 12, 18, ['O', 'l', '6187', '8145', 'B', '2127', '5985', 'l', '9543', 'U', 'J', '4521', 'X', '3665', '5769', '5723', '9047', 'i', 'j']Output:

answer:i9047572357693665X4521

question:Question: Yes / no, is the following a verifiable fact?"Martha Stewart had a successful TV show and magazine."Ans and explanation: The answer is yes.Explanation: Martha Stewart had a successful TV show and magazine, both with the same name.Question: Is the following sentence factually correct?"Many people have a Thylacine for a pet in North America."Options:- yes- noAns and explanation: The answer is no.Explanation: The Thylacine is proven to be extinct and is not native to North America.Question: Is the following sentence factually correct?"Zoology refers to the study of animals, and is a branch of biology."Options:- yes- noAns and explanation: The answer is yes.Explanation: Zoology is used to study different species of animals found in the world.Question: Is the following sentence factually correct?"Ben Carson ran for president against Donald Trump in the Republican primary."Options:- yes- noAns and explanation:

answer:The answer is yes.Explanation: Donald Trump and Ben Carson ran against one another in 2016.

Released under the MIT License.

has loaded