prompt
stringlengths
50
14.7k
response
stringlengths
1
3.54k
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Let me give you an example: password = a The answer to this example can be: 5 Here is why: Using 5 steps, it can become a strong password OK. solve this: password = ZMrw Answer:
2
Read the passage and find if the passage agrees, disagrees, or has a neutral stance on whether Global warming is caused by human activities. Answer only with keyword (a) agrees - if passage agrees with the target (b) disagrees - if passage disagrees with the target (c) neutral - if the given passage neither agrees nor disagrees with the target. You don't need to use external knowledge in this task, and you have to answer based on the given passage. Example input: Most global warming is natural and even if there had been no Industrial Revolution current global temperatures would be almost exactly the same as they are now. Example output: disagrees Example explanation: The sentence explicitly states the global warming is natural. It also adds the temperatures would be the same even without industries. Therefore the sentence disagrees with the target. Q: Through the 1980s, Exxon researched the emerging science of man-made climate change by, among other things, modeling increases in global temperatures due to carbon dioxide emissions. A:
neutral
Given the task definition and input, reply with output. Given a prompt and two completions from a language model, select the completion that is the most fluent with respect to continuing the prompt. Fluency is defined by coherency and ease of understanding, not necessarily grammatical correctness. Generate either Completion A or Completion B. Prompt: I never understood the reason for the different tracks. I just can't Completion A: imagine any more reason." "The last track is just a simple song, it's just me and my guitar," continued Nadella. Completion B: by Andriòn Ómál
Completion A
Instructions: In this task, you are given a country name, and you need to return the numeric International Organization for Standardization (ISO) code of the given country. The codes are three-digit numbers defined by the ISO to represent countries, dependent territories, and special areas of geographical interest. Input: Burundi Output:
108
Given the task definition, example input & output, solve the new input case. Two analogies that relate places/locations to the associated travel mode is given in the form "A : B. C : ?". "A : B" relates place A to travel mode B. Your task is to replace the question mark (?) with the appropriate travel mode for the given place C, following the "A : B" relation. Example: moon : rocket. france : ? Output: airplane Rockets are used to travel to the moon - hence the given analogy relates places/locations to the associated travel mode , and the answer also does the same New input case for you: office : car. moon : ? Output:
rocket
TASK DEFINITION: In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment". PROBLEM: Premise: در ژانویه هر سال ، LSC فرم بررسی پرونده را توزیع می کند. <sep> Hypothesis: فرم بررسی پرونده در ژانویه فقط پس از جمع بندی سال گذشته منتشر می شود. SOLUTION: Neutral PROBLEM: Premise: امروز ، ماکت بتن آرمه فقط برج بزرگ پنج طبقه ، به طول ۴۲ متر (۱۳۸ فوت) بلندی را احاطه می کند ، که توسط خندق ها و تخته های پوشیده از پیچک احاطه شده است. <sep> Hypothesis: استحکامات اطراف برج کاملاً جدید است. SOLUTION: Neutral PROBLEM: Premise: در ۱۶ سپتامبر ۲۰۱۱، راجر استون، مشاور سیاسی دیرینه ترامپ و یاری‌دهنده ریگان در مبارزات انتخاباتی سال ۱۹۸۰، این شعار را توییت کرد: «دوباره آمریکا را بزرگ کن --ترامپ هاکبی ۲۰۱۲». <sep> Hypothesis: راجر استون شدیدا حامی ترامپ بود. SOLUTION:
Entailment
Teacher: In this task, you have given an input which is agent's reply, based on that you have to identify what will be users' command for that reply. The user generally asks a question related to event scheduling or information of the scheduled events. Agent reply based on the available information or do the task as per user command. Teacher: Now, understand the problem? If you are still confused, see the following example: I didn't find any events with Gavin this week Solution: Search for any meetings with Gavin for this week. Reason: The agent has replied about the events with Gavin, and the user has also asked about the same thing. Now, solve this instance: It will be clear with a high of 0.00 °F and a low of 0.00 °F on Sun, January 13. Student:
What will the weather be like?
(Question) Given this review: "It works as stated in that you can see catch any random force close when trying to figure out an issue however it seems dev needs to code the menu button for lollipop up. Seems only coded for dedicated hardware button and not soft keys. The 3 dot menu option is not available. This essentially makes the tool useless to me as I need to extract and email the logs. Dev please update app" Would you recommend this app to a friend? Not at all, No, Maybe, Yes, or Definitely? (Answer) No (Question) Given this review: "Best one around I tried all the catalog app available. This one is the best." Would you recommend this app to a friend? Not at all, No, Maybe, Yes, or Definitely? (Answer) Definitely (Question) Given this review: "Y'all peeps Tops 2 Toes Google Photos" Would you recommend this app to a friend? Not at all, No, Maybe, Yes, or Definitely? (Answer)
Definitely
You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education. The Humidifier
cold breeze bluster out of the vent on a warm sunday afternoon damp moist water start to trickle down my hand wet wet soak
Given the task definition, example input & output, solve the new input case. The input is a conversation between an automated system and a user looking for suggestions for pubs, restaurants and coffee shops in Cambridge. In the dialogue, the user may provide some criteria for the type of place they want such as price range, cuisine, etc. Given such a dialogue, output the price range the user if looking for which can take one of four values: Cheap, Moderate, Expensive and Don't Care. Output cannot be any other value than the four values. Note that if the user asks for the prices of items provided at a pub, restaurant or coffee shop but doesn't mention the price range they are looking for then the correct classification will be Don't Care. If the user does not mention a particular price, the correct classification will be Don't Care. Example: System: 'Thank you for calling the Cambridge Information system. Your call will be recorded for research purposes. You may ask for information about a place to eat, such as a restaurant, a pub, or a cafe. How may I help you?' User: 'im looking for a moderately priced coffee shop' System: 'Are you looking for somewhere near a particular venue? For example, Cambridge Contemporary Art, Great Saint Mary's Church, or Primavera.' User: 'no im not' System: 'Cafe Eleven, which is in the moderate price range, is an outstanding cafe.' User: 'can i get the phone number and the postcode' System: 'The phone number of Cafe Eleven is 01223369157. It's in the area with the postcode CB1 1DG.' User: 'thank you goodbye' Output: Moderate The user mentions that they are looking for a moderately priced coffee shop. New input case for you: System: 'Thank you for calling the Cambridge Information system. Your call will be recorded for research purposes. You may ask for information about a place to eat, such as a restaurant, a pub, or a cafe. How may I help you?' User: 'noise sil' System: 'What kind of venue are you looking for? For example, a cafe, a pub, or a restaurant.' User: 'noise sil' System: 'The Bakers is a great pub.' User: 'noise sil' System: 'Can I help you with anything else?' User: 'im looking for an expensive restaurant in the trumpington area' System: 'Would you like an expensive price range, or you don't care?' User: 'in the trumpington area' System: 'Would you like an expensive price range, or you don't care?' User: 'expensive' System: 'Would you like an expensive price range, or you don't care?' User: 'noise sil' System: 'Would you like an expensive price range, or you don't care?' User: 'noise sil' System: 'Would you like an expensive price range, or you don't care?' User: 'expensive' System: 'Are you looking for a pub or a restaurant?' User: 'noise sil' System: 'Would you like an expensive price range, or you don't care?' User: 'thank you good bye' Output:
Expensive
Detailed Instructions: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Q: Entity 1: blood vessel blood vessel Entity 2: artery A:
yes
Given a pair of words, deduce the type of relationship between them. The various types of relations are: 'Entails, HasProperty, Synonym, Antonym, HasA, MemberOf, PartOf, MadeOf, IsA'. Let's denote the first word by X and the second word by Y. An 'IsA' relation holds when 'X is a kind of Y'. An 'Antonym' relation holds when 'X can be used as the opposite of Y'. A 'Synonym' relation applies when 'X can be used in place of Y, without changing the meaning'. A 'PartOf' relation holds when 'X is a part of Y'. A 'MemberOf' relation holds when 'X is a member of Y'. A 'MadeOf' relation holds when 'X is made of Y'. An 'Entailment' relation holds when 'If X is true, then Y is true as well'. A 'HasA' relation holds when 'X can have or contain Y'. A 'HasProperty' relation holds when 'Y is to specify X'. Input: Consider Input: X: authority, Y: book Output: IsA Input: Consider Input: X: army, Y: navy Output: Antonym Input: Consider Input: X: atom, Y: nucleus
Output: MadeOf
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. -------- Question: In the US at least, we have the right to life, liberty, and the pursuit of happiness as long as it doesn't infringe upon the rights of others. Answer: Valid Question: Everyone on death row gets the same level of representation. Answer: Valid Question: Indeed, the states with the death penalty on average have a higher per capita murder rate than those without - suggesting that other factors (economy, etc.) play a much larger role. Answer:
Valid
You will be given a definition of a task first, then some input of the task. In this task, you are given two phrases: Head and Tail, separated with <sep>. The Head and the Tail events are short phrases possibly involving participants. The names of specific people have been replaced by generic words (e.g., PersonX, PersonY, PersonZ). PersonX is always the subject of the event. You have to determine whether the Head is used for the Tail or not. The usage describes everyday affordances or uses of objects and includes both typical and atypical uses. For example, a popcorn bucket can typically be used to hold popcorn, but it could also serve as a hat in atypical situations. Classify your answers into "Yes" and "No". The phrase may also contain "___", a placeholder that can be an object, a person, and/or an action. Head: carer<sep>Tail: sign to deaf client Output:
Yes
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the no-need strategy, otherwise output No. no-need is a cooperative negotiation strategy. It is used when a participant points out that they do not need an item based on personal context such as suggesting that they have ample water to spare. no-need can directly benefit the opponent since it implies that the item is up for grabs. One example: Context: Utterance: 'how about I give you 2 waters and 1 food package in exchange for all your firewood?' Solution is here: No Explanation: The utterance does not use the no-need strategy since it never refers to an item that the participant does not need. Now, solve this: Context: 'thanks! where do you plan on camping? I know popular places are worried about spreading Covid and a lot of offices that give out camping permits are closed.' 'We're going to check out Acadia National Park. I'm not totally sure on the details, I'm letting my boyfriend plan and I'm just handling the packing haha' 'Lol, that's totally understandable. Are you planning to make any campfires?' Utterance: 'Some, but I'm not too worried about my firewood stock. I'm pretty sure there's a decent amount of wood out there in the park.' Solution:
Yes
In this task, you will be given a debate topic, along with a sentence from the debate. You should classify the given sentence and choose the type of that sentence. Possible types are explained below. Policy: This refers to a sentence proposing a specific course of action to be taken. It typically contains modal verbs like "should" and "ought to". It cannot be directly proved with objective evidence, and a proper type of support is a logical reason from which the proposition can be inferred. Value: This refers to a sentence containing value judgments without making specific claims about what should be done (If so, then it is a Policy sentence.). Because of the subjectivity of value judgments, it cannot be proved directly with objective evidence. Fact: This refers to an objective proposition expressing or dealing with facts or conditions as perceived without distortion by personal feelings, prejudices, or interpretations. A Fact sentence has a truth value that can be verified with objective evidence that may be available at the time the claim is made; predictions about future are considered unverifiable. Testimony: This refers to an objective sentence about the author's personal state or experience. Evidence for Testimony is not publicly available in most cases. Input: Consider Input: topic: The United States of America should go to War with China sentence: In this context, representatives of the United States (Namely soldiers and the government) were at war with Iraq. Output: Fact Input: Consider Input: topic: NON VOTING IN ELECTIONS MUST BE TAKEN SERIOUSLY sentence: * The time to vote should be increased, for at least a week, in many locations as well as mail in voting. Output: Policy Input: Consider Input: topic: University isn't useful compared to college as it is merely theoretical rather than practical sentence: ~~~ My Contention: University is a title used to describe an institute of higher education and is synonymous with the words College, Institute (Massachusetts Institute of Technology), Academy (United States Military Academy), Union (Cooper Union), Conservatory (New England Conservatory), and School (Juilliard School).
Output: Fact
Definition: The input is a conversation between an automated system and a user looking for suggestions for pubs, restaurants and coffee shops in Cambridge. In the dialogue, the user may provide some criteria for the type of place they want such as price range, cuisine, etc. Given such a dialogue, output the price range the user if looking for which can take one of four values: Cheap, Moderate, Expensive and Don't Care. Output cannot be any other value than the four values. Note that if the user asks for the prices of items provided at a pub, restaurant or coffee shop but doesn't mention the price range they are looking for then the correct classification will be Don't Care. If the user does not mention a particular price, the correct classification will be Don't Care. Input: System: 'Thank you for calling the Cambridge Information system. Your call will be recorded for research purposes. You may ask for information about a place to eat, such as a restaurant, a pub, or a cafe. How may I help you?' User: 'a moderate priced restaurant in new chesterton' System: 'Hakka, which is in the New Chesterton part of town, is an outstanding restaurant. It's in the moderate price range.' User: 'what is the address and phone number' System: 'Hakka is on 24 Milton Road and its phone number is 01223568988. The price for main courses ranges from 5 pounds to 13 pounds.' User: 'sil' System: 'Hakka is an outstanding restaurant.' User: 'what type of partial' System: 'Hakka serves chinese food.' User: 'what type of food' System: 'Hakka serves chinese food.' User: 'thank you goodbye' Output:
Moderate
Indicate all the pronouns (they, them, you, he, his, her, you, it, etc.) present in the given sentence. If there are multiple such pronouns in a sentence, then list them in the order of their first appearance in the given sentence. If a pronoun appears multiple times in a sentence, list it only once. Example input: the user changed his password from grwqwu8jyc to willow-towered canopy huntertropic wrestles as it was easy to remember. Example output: his, it Example explanation: In this statement, 'it' is the pronoun used for password, and 'his' is used for the user. Q: joe's uncle can still beat him at tennis, even though he is 30 years older. A:
him, he
You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list Input: Consider Input: [1, 11, 10, 31, 32, 7, 21, 42, 12, 6, 49, 5, 27, 26, 34, 2, 8, 46, 22, 24], target=14 Output: [12, 2] Input: Consider Input: [42, 29, 12, 38, 31, 17, 15, 1, 14, 23, 8, 5, 20, 34, 21, 47, 4, 49, 24, 19], target=30 Output: [29, 1] Input: Consider Input: [28, 44, 12, 14, 36, 16, 6, 43, 9, 26, 2, 13, 1, 30, 24, 46, 18, 33, 32, 49], target=65
Output: [33, 32]
instruction: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. question: [6, 0, 6, 7, 7] answer: [0] question: [7, 5, 5, 2, 4, 2, 5, 2, 5, 2] answer: [7, 4] question: [2, 4, 1, 4, 0, 4, 0] answer:
[2, 1]
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B. Q: [7191, 3783, 'Z', 'x', '3261', 'e', 'A'], [2085, 8065, 3953, 'Z', 'x', '3261', 'I', 8561, 8719] A:
Z, x, 3261
Detailed Instructions: You're given a fill-in-the-blank question where the answer is PersonX. You need to minimally change the given question so that the answer flips to PersonY. This task typically involves replacing one word i.e., the 'trigger word' with its antonym (e.g., changing from "sympathetic" to "stern"). You should not change any content in the given question beyond a word or two i.e. the trigger word/phrase. PersonX and PersonY should not be equally likely to fill the blank. For your question, PersonY should be a well-agreed answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use the names of real people or generic names (e.g., Donald Trump, John Doe, etc.) in your question. Avoid repeating the same style or phrase in generating your modified question e.g. this task can be always solved using a simple negation i.e. by adding not, never, etc. Instead, try to increase the word diversity. Your question must contain at least 15 and at most 30 words. Your question must have at least 70% overlapping words with the given question. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that PersonX and PersonY have the same gender. In your question, PersonX and PersonY should be used only ONCE and PersonX should appear earlier than PersonY. Although there are many correct answers, you only need to write one of them. Problem:Context Word: sold. Question: PersonX is envious of PersonY because _ sold a far fewer number of houses this year. Answer: PersonX Solution:
PersonX is envious of PersonY because _ sold a far greater number of houses this year.
Suggest a movie title for the following movie plot: Four years after Jurassic Park was overrun by cloned dinosaurs on the Central American island of Isla Nublar, a young girl named Cathy Bowman wanders around on nearby Isla Sorna during a family vacation, and survives an attack by a swarm of Compsognathus. Her parents file a lawsuit against the genetics company InGen, now headed by John Hammond's nephew, Peter Ludlow, who plans to use Isla Sorna to relieve the company of financial losses. Mathematician Dr. Ian Malcolm meets Hammond at his mansion. Hammond explains that Isla Sorna, abandoned years earlier during a hurricane, is where InGen created their dinosaurs before moving them to Jurassic Park on Isla Nublar. Hammond hopes to stop InGen by sending a team to Isla Sorna to document the dinosaurs, to help rally public support against human interference on the island. After learning that his girlfriend, paleontologist Dr. Sarah Harding, is part of the team and is already on the island, Ian agrees to go to Isla Sorna, but only to retrieve her. Ian meets his teammates, Eddie Carr, an equipment specialist and engineer, and Nick Van Owen, a video documentarian. After arriving on the island, they locate Sarah and discover that Ian's daughter, Kelly, had stowed away in a trailer being used as a mobile base. They then watch as an InGen team of mercenaries, hunters and paleontologists led by Ludlow arrive to capture several dinosaurs. Meanwhile, team leader Roland Tembo hopes to capture a male Tyrannosaurus by luring it to the cries of its injured infant. That night, Ian's team sneak into the InGen camp and learn the captured dinosaurs will be brought to a newly proposed theme park in San Diego. This prompts Nick and Sarah to free the caged dinosaurs, wreaking havoc upon the camp. Nick also frees the infant T. rex and takes it to the trailer to mend its broken leg. After securing Kelly with Eddie, Ian realizes the infant's parents are searching for it and rushes to the trailer. As soon as Ian arrives, the infant's parents emerge on both sides of the trailer. The...
The Lost World: Jurassic Park
Detailed Instructions: Write a fact related to the given fact, based on the given topic word. Note that, your fact should have at least one word in common with the given fact. All facts in this task refer to scientific facts. Your related fact must form a chain with the given fact. Chains form when two facts connect together to produce the third fact. An example of a chain is: "pesticides cause pollution" (given fact) + "pollution can harm animals" (related fact) → "pesticides can harm animals" (connected chain). Avoid creating simple paraphrases of the given fact. While your generated fact should be related to the input fact, they must describe slightly different scientific phenomena. It's okay if your related fact includes some irrelevant information, provided that it has some overlap with the given fact and it contains some words corresponding to the provided topic. Q: Fact: Neurons are the structural and functional units of the nervous system. Topic: nervous system location. A:
Botulism affects the nervous system.
Instructions: In this task, you are given the name of an Indian food dish. You need to classify the dish as "sweet" or "spicy". Input: Paneer butter masala Output:
spicy
Teacher:In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are: REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference. YEAR: Describing a calendric year AGE: Describing someone's age CURRENCY: Reference to some monetary value e.g dollar, euro etc. PEOPLE: Describing a single/plural persons TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers. OTHER: Some other option, which isn't listed here. Teacher: Now, understand the problem? Solve this instance: President John Sheridan: The universe speaks in many languages but only one voice . The langage is not Narn or human or Centauri or Gaim or Minbari . It speaks in the language of hope . G'Kar: It speaks in the language of trust . It speaks in the language of strength and the language of compassion . It is the language of the heart and the language of the soul . But always it is the same voice . It is the voice of our ancestors speaking through us . And the voice of our inheritors waiting to be born . It is the small , still voice that says : " We are one . " No matter the blood , no matter the skin , no matter the world , no matter the star : we are one . No matter the pain , no matter the darkness , no matter the loss , no matter the fear : we are one . Here gathered together in common cause we agree to recognize this singular truth and this singular rule : that we must be kind to _ one _ another . President John Sheridan: Because each voice enriches us and ennobles us , and each voice lost , diminishes us . We are the voice of the universe , the soul of creation , the fire that will light the way to a better future . We are one . G'Kar: We are one . Student:
PEOPLE
Given the task definition and input, reply with output. In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. بازیگران فوق العاده بودن ولی موضوع اش رو دوست نداشتم
بازی
You will be given a definition of a task first, then some input of the task. Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase. Malhar Joshi는 저자 Waman Gopal Joshi와 혼동되어서는 안됩니다. 그들은 동시대의 사람들이었습니다. Output:
Vaman Malhar Joshi ne doit pas être confondu avec l'écrivain Waman Gopal Joshi. Ils étaient contemporains.
Given the task definition, example input & output, solve the new input case. In this task you will be given a list of integers. You should find the maximum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the largest possible absolute distance. Example: [73, 30, 71, 47, -65, 50, -90, -60] Output: 163 The maximum absolute difference is 163 because '|-90 - 73| = 163' which is the maximum possible absolute difference. So this is a good example. New input case for you: [-6, -100, -79, 61, 100] Output:
200
Two analogies that signify affordances are given in the form "A : B. C : ?". Affordance is the possibility of an action being done on an object, for example book is an affordance of writing. The phrase "A : B" implies that B is an affordance of A. Your task is to replace the question mark (?) with the appropriate affordance of the given action C, following the "A : B" relation. Your answer should be a single object without further explanation. compose : symphony. swing : ?
sword
TASK DEFINITION: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. PROBLEM: twofourfivethreesix SOLUTION: 24536 PROBLEM: threefivefourzeroonefouroneoneeightnineninezero SOLUTION: 354014118990 PROBLEM: threezeronineeightninefourtwo SOLUTION:
3098942
instruction: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. question: [125, 193, 215, 227, 176, 50, 92, 145, 258, 271, 203, 262, 273, 30, 237, 139, 121, 272, 107, 115], k=11 answer: 176 question: [89, 86, 160, 165, 68, 82, 114, 142, 287, 73, 177, 205, 252, 122, 121, 277, 58, 210, 152, 159], k=16 answer: 86 question: [263, 254, 111, 168, 142, 236, 193, 58, 89, 212, 28, 175, 62, 92, 287, 87, 110, 252, 213, 226], k=11 answer:
168
Teacher: In this task you will break down a question into the basic steps required to answer it. A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.) Here are the list of step templates and their description: Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes] Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition] Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step] Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step]. Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute] Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest] Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number] Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2] Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2] Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2] Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2] Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition] Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2]. Teacher: Now, understand the problem? If you are still confused, see the following example: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'? Solution: #1 return secretaries #2 return #1 born in state 'Alabama #3 return departments managed by #2 #4 return distinct creation years of #3 Reason: Referring to previous steps is vital in constructing multi-step decompositions. In this example each step refers to the step before to perform a single filter on it to reach the final result. Now, solve this instance: question: What material is the large gold sphere? Student:
#1 return spheres #2 return #1 that are large #3 return #1 that are gold #4 return #1 in both #2 and #3 #5 return the material of #4
Given the task definition, example input & output, solve the new input case. In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Example: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. Output: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } Here, the generated command using logical operators correctly selects third maximum from given table rows which is mentioned in natural language interpretation. New input case for you: select the rows whose season record is arbitrary . the number of such rows is 10 . Output:
eq { count { filter_all { all_rows ; season } } ; 10 }
Detailed Instructions: In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list. Problem:[50, 268, 232, 285, 279, 215, 244, 45, 141, 102, 14, 43, 82, 170, 41, 180, 46, 292, 201, 60], k=14 Solution:
60
Given the task definition, example input & output, solve the new input case. In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Example: [9, 40, -33, 12, 17, -32, 40] Output: 0 The minimum absolute difference is 0 because '40 - 40 = 0' and '40' appears in the list twice. So this is a good example. New input case for you: [99, 74, 97, -23, -93, 78] Output:
2
Given the task definition, example input & output, solve the new input case. In this task, you will be presented with a question in Dutch language, and you have to write the location names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Identifier used for the location name - LOC. . There can be instances with no location name entity, then return 'None'. Example: Jean Alavoine ( Fra ) Output: Fra: B-LOC In the given sentence, Fra is identified as the location, which is correct. New input case for you: GENETICA Gen ontdekt dat suiker in bloed aanmaakt bij varkens en mensen Output:
None
Definition: In this task you will be given a list of integers. You should find the maximum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the largest possible absolute distance. Input: [88, -48, 23, -64, -46, -72, 77, -43, -97] Output:
185
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story. -------- Question: Premise: Amy and Beth were feuding. Initial Context: Amy had nothing good to say about Beth. Original Ending: Amy's friend Sue reminded Amy that Beth was her friend for 10 years. Sue begged Amy to forgive her friend. Amy was too stubborn to take Sue's advice. Counterfactual Context: Amy wanted to make Beth feel good again. Answer: Amy's friend Sue had reminded Amy that Beth was her friend for 10 years. She convinced Amy to forgive her friend. Amy was glas she took Sue's Advice. Question: Premise: Tiffany was excited to go to college in Florida. Initial Context: She was happy to have two really cool roommates. Original Ending: The three of them became very close friends. They would help each other study, eat together, and hang out too. Tiffany missed them terribly on her first trip home for winter break. Counterfactual Context: She was happy to have one really cool roommate. Answer: The two of them became very close friends. They would help each other study, eat together, and hang out too. Tiffany missed her roommate terribly on her first trip home for winter break. Question: Premise: Sarah was in the first grade when she began to dislike boys. Initial Context: During that year she was held face down in the snow by a boy bully. Original Ending: Through the Year's following she was teased a lot by boys. She began to think all boys were rude and mean. Not anymore, because now she teaches her son how not to be a rude boy. Counterfactual Context: Until she was kissed by a boy in the snow. Answer:
Through the Year's following she was teased a lot by boys. She began to think all boys were rude and mean again. Not anymore, because now she teaches her son how not to be a rude boy.
TASK DEFINITION: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list. PROBLEM: ['i', 'f', '109'] SOLUTION: 0, 1, 9 PROBLEM: ['v', 'i', 'g', 'h'] SOLUTION: -1 PROBLEM: ['375', '189', 'u', 'y'] SOLUTION:
1, 3, 5, 7, 8, 9
You are given a sentence in Hebrew. Your job is to translate the Hebrew sentence into Galician. ומסתבר שהתשובה היא שבגלל שהמח שלהם ארוז בתוך הגלגולת שלהם בדרך שונה מזו שהמוחות שלנו, כלומר אנחנו בני האדם, באמת, שהמוחות שלנו ארוזים. E resulta que a resposta é que os seus cerebros están colocados nos seus cranios dun modo diferente a como os seres humanos temos empaquetados os nosos cerebros. ברור שאם זה נכון, עלינו לאחד את הספירות הפוליטיות והכלכליות וכדאי לעשות זאת עם דמוס בשליטה, כמו באתונה העתיקה רק ללא העבדים או הדרתם של נשים ומהגרים. Claramente, se isto é así, debemos reunir as esferas política e económica e mellor facelo cun demos ao mando, como na antiga Atenas pero sen os escravos e sen a exclusión de mulleres e migrantes. מה לגבי חיים?
E unha vida?
Teacher:Given an input stream, the objective of this task is to classify whether words in the stream are grammatically correct or not. The input to this task is a stream of words, possibly from captions generated by a speech-to-text engine, and the output is a classification of each word from the labels (reason) = [NO_DIFF (correct), CASE_DIFF (case error), PUNCUATION_DIFF (punctuation error), CASE_AND_PUNCUATION_DIFF (both case and punctuation error), STEM_BASED_DIFF (stem word error), DIGIT_DIFF (digit error), INTRAWORD_PUNC_DIFF (intra-word punctuation error), and UNKNOWN_TYPE_DIFF (an error that does not corrrespond to the previous categories)]. Teacher: Now, understand the problem? Solve this instance: ['so', 'this', 'is', 'the', 'first', 'video', 'in', 'a', 'short', 'series', 'introducing', 'some', 'of', 'the', 'major', 'ideas', 'of', 'the', 'Protestant', 'Reformation', 'and', 'in', 'this', 'video', 'we', 'just', 'want', 'to', 'lay', 'the', 'groundwork', 'what', 'was', 'it', 'like', 'to', 'live', 'in', 'Europe', 'before', 'the', 'Protestant', 'Reformation', 'that', 'is', 'before', '1517', 'when', 'Martin', 'Luther', 'a', 'German', 'monk', 'and', 'professor', 'of', 'theology', 'nailed', 'his', '95', 'theses', 'to', 'the', 'door', 'of', 'the', 'castle', 'Church', 'in', 'Wittenberg', 'and', "we'll", 'get', 'back', 'to', 'that', 'I', 'was', 'driving', 'around', 'my', 'neighborhood', 'about', 'a', 'week', 'ago', 'and', 'I', 'took', 'photographs', 'of', 'some', 'of', 'the', 'churches', 'that', 'were', 'there', 'and', 'within'] Student:
['NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'CASE_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'CASE_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'CASE_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'CASE_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'NO_DIFF', 'PUNCUATION_DIFF', 'CASE_DIFF', 'NO_DIFF']
Teacher:In this task, you are given music product reviews in French language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Teacher: Now, understand the problem? Solve this instance: En particulier, pour la Symphonie N° 3 d'Arnold Cooke, très bien interprétée . Le vingtième siècle a vu la composition de plusieurs cycles de symphonies de très grande qualité, depuis celui de Guy Ropartz (1864-1955) à celui de Péteris Vasks (né en 1946), en passant par celui de Carl Nielsen (1865-1931), d'Alexandre Glazunov (1865-1936), de Jean Sibelius (1865-1957), de Wilhelm Peterson-Berger (1867-1942), de Charles Tournemire (1870-1939), de Ralph Vaughan Williams (1872-1958), de Hugo Alfvén (1872-1960), d'Havergal Brian (1876-1972), de Karl Weigl (1881-1949), de Nikolaï Miaskovsky (1881-1950), de Gian Francesco Malipiero (1882-1973), d'Arnold Bax (1883-1953), d'Egon Wellesz (1885-1974), d'Heitor Villa-Lobos (1887-1959), d'Ernst Toch (1887-1964), de Kurt Atterberg (1887-1974), de Bohuslav Martinü (1890-1959), de Serge Prokofiev (1891-1953), d'Arthur Honegger (1892-1955), de Darius Milhaud (1892-1974), de Walter Piston (1894-1976), de Paul Hindemith (1895-1963), de Boris Lyatoshinsky (1895-1968), d'Howard Hanson (1896-1931), de Roger Sessions (1896-1985), d'Alexandre Tansman (1897-1986), de Roy Harris (1898-1979), de Carlos Chávez (1899-1978), d'Ernst Krenek (1900-1991), d'Edmund Rubbra (1901-1986), de Vissarion Chebaline (1902-1963), de Gavriil Popov (1904-1972), de Karl Amadeus Hartmann (1905-1963), d'Eduard Tubin (1905-1982), de William Alwyn (1905-1985), de Benjamin Frankel (1906-1973), de Dmitri Chostakovitch (1906-1975) bien sûr, mais aussi d'Arnold Cooke (1906-2005), d'Ahmed Adnan Saygun (1907-1991), de Camargo Guarnieri (1907-1993), de Miloslav Kabelác (1908-1979), de Vagn Holmboe (1909-1996), de William Schuman (1910-1992), d'Allan Pettersson (1911-1980), d'Alan Hovhaness (1911-2000), de Donald Gillis (1912-1978), de Daniel Jones (1912-1993), d'Humphrey Searle (1915-1982), de David Diamond (1915-2005), d'Isang Yun (1917-1995), de George Rochberg (1918-2005), de Lex van Delden (1919-1988), de Cláudio Santoro (1919-1989), de Mieczyslaw Weinberg (1919-1996), de Galina Oustvolskaïa (1919-2006), d'Alexander Lokshin (1920-1987), de Robert Simpson (1921-1997), de Malcolm Arnold (1921-2006), d'Hans Werner Henze (né en 1926), d'Einojuhani Rautavaara (né en 1928), de John Davison (né en 1930), d'Aubert Lemeland (né en 1932), de Krzysztof Penderecki (né en 1933), d'Alfred Schnittke (1934-1998), de Peter Maxwell Davies (né en 1934), de Valentin Silvestrov (né en 1937), de Boris Tishchenko (né en 1939), de Leif Segerstam (né en 1944), ou bien encore de Jean-Claude Wolff (né en 1946), sans compter de nombreux chef-d'oeuvres isolés. Certaines des six symphonies que nous a laissé Arnold Cooke (1906-2005) sont tout à fait intéressantes. Student:
POS
Definition: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the uv-part strategy, otherwise output No. uv-part is a selfish negotiation strategy. It is used to undermine the requirements of the opponent. For instance, suggesting that the opponent would not need more firewood since they already have the basic supplies or a suggestion that there might be a store near the campsite where the opponent can get the supplies instead. Input: Context: 'All my girls have brought canteens. I must have enough firewood if they will earn their badge. You can have one, but I won't be able to make due without 2.' 'I could manage with one firewood and two foods, but if you have canteens for everyone, may I then have all three waters? I had planned to collect water from the river, but I'm worried I may get sick.' 'you pointed out that we will need more! 😮 i will take 2 waters' Utterance: 'I didn't know you had supplied everyone with water before the trip. I was merely trying to look out for your needs, but you said you didn't need them!' Output:
Yes
TASK DEFINITION: In this task, you are given two sets, and you need to count the number of elements at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. To find the intersection of two given sets, A and B is a set consisting of all the elements common to both A and B. PROBLEM: Set1: '{3, 10, 19}', Set2: '{3, 9, 10, 12, 14}'. How many elements are there in the intersection of Set1 and Set2 ? SOLUTION: 2 PROBLEM: Set1: '{5, 10, 11, 14, 16, 17, 18, 20}', Set2: '{1, 3, 7, 8, 15, 17, 19, 20}'. How many elements are there in the intersection of Set1 and Set2 ? SOLUTION: 2 PROBLEM: Set1: '{1, 2, 3, 10, 13, 14, 15, 17, 20}', Set2: '{2, 4, 12, 14, 17, 18, 19, 20}'. How many elements are there in the intersection of Set1 and Set2 ? SOLUTION:
4
Instructions: Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'. Input: 09:42:41 PM occured before 20:36:00 but after 01:14:00 PM Output:
True
Given the prompt and a response, classify the them to "yes" if response is "yes, and" type. Otherwise classify it as "no". "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. [EX Q]: Prompt: I brought my cat in for a tattoo. I know it's on the down low, but I heard that you tattoo animals here. Response: Look man, if you buy a bong, I'll tattoo your cat. [EX A]: yes [EX Q]: Prompt: Did you say that you're covered in chains or cheese? Response: I'm going to copyright that. That's my idea. [EX A]: no [EX Q]: Prompt: Hey guys, I actually heard what you guys were talking about. Me and my friend Kinghere Somegoal. Would you guys want to like, sit at the same table? Because weddings are a great place to hook up and have champagne. Response: I mean, that sounds good to me. I don't know about this person I just met for the first time. [EX A]:
yes
Teacher: Given an object and a part, decide whether the object has that part. For example is you are asked 'gun has barrel', you need to decide if a gun has a barrel as one of its components or parts. All sentences strictly follow the template 'object has part?.' The answer should be 1 or 0, 1 means the object has the given part, while 0 means it doesn't have the part. Teacher: Now, understand the problem? If you are still confused, see the following example: apple has bone? Solution: 0 Reason: Apples don't have bones, so the output of 0 is correct. Now, solve this instance: door has hinge? Student:
1
Detailed Instructions: In this task, you will be given a sentence about a person. You should determine how the sentence affects how the person is perceived by most people in society. Your choices are: Positive: The social perception of [PERSON] in the sentence is considered predominantly positive. Negative: The social perception of [PERSON] in the sentence is considered predominantly negative. No impact: There is no clear impact of social perception of [PERSON] associated with the sentence. See one example below: Problem: [PERSON] behaved like a professional in the job interview. Solution: Positive Explanation: Behaving professionaly in a job interview has a positive impact on people's perception of a person. Problem: [PERSON] was described as a "very good and strong guy", and "someone who was able to get through the game and not be intimidated by the game". Solution:
Positive
TASK DEFINITION: Paraphrase the given questions to have different wording. Your paraphrased questions should have the same answer as the original question. Try to change the sentence as much as possible using synonyms and/or rearranging the structure of the sentence. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in paraphrasing, this keyword should also be used the same way. Do not write questions that compare or involve multiple domains. Do not write open-ended or subjective questions (e.g., questions that can be answered differently by different people.) Make your questions specific and concrete. Your question should have the same type of answer as the original question(e.g., if the question is extractive, the paraphrased question should be extractive as well.) PROBLEM: Did this president decrease the budget deficit by the end of his term? SOLUTION: Was the budget shortfall lower when this president left office than what he inherited? PROBLEM: What were the approval ratings of this president? SOLUTION: How high were the approval ratings of this president? PROBLEM: What state did this president spend his youthful years in? SOLUTION:
In which state was this president raised?
Teacher:In this task, you're given a pair of sentences in the Persian Language written in the Persian alphabet. Your job is to choose whether the two sentences agree (entailment), disagree (contradiction), or neither (neutral). Your answer must be in the form of the letters E, C, and N, respectively. The sentences have been separated by a newline character. Teacher: Now, understand the problem? Solve this instance: کمدی الهی یا خندستان خدایی سه‌گانه‌ایست به شعر که دانته آلیگیری، شاعر و نویسنده ایتالیایی نوشتن آن را در سال ۱۳۰۸ میلادی آغاز کرد و تا زمان مرگش در سال ۱۳۲۱ میلادی کامل کرد. این کتاب از زبان اول شخص است و دانته در این کتاب، سفر خیالی خود را به دوزخ، برزخ و بهشت تعریف می‌کند.دانته در این کتاب از مراحل مختلف دوزخ، برزخ و بهشت می‌گذرد و در این مراحل با شخصیت‌های مختلف تاریخی برخورد می‌کند، تا عاقبت در آخرین مرحله بهشت به دیدار خدا می‌رسد. موضوع کتاب "کمدی الهی" اثر دانته سفر خیالی نویسنده به دوزخ، برزخ و بهشت می باشد. Student:
E
Detailed Instructions: In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity. Problem:3 34 cups all-purpose flour, 12 teaspoon salt, 4 ounces white chocolate, finely chopped (such as Callebaut or Ghiradelli), 1 12 cups unsalted butter, at room temperature, cut into tablespoon-sized pieces, 12 cup granulated sugar, 12 cup light brown sugar, packed, 1 tablespoon instant espresso powder, 2 teaspoons vanilla extract, 1 14 cups semisweet chocolate chunks, 7 ounces chocolate-covered english toffee bars, such as Heath Bars, chopped (5, 1.4 oz bars cut into1/2-inch pieces) Solution:
flour, salt, white chocolate, unsalted butter, sugar, light brown sugar, espresso powder, vanilla, semisweet chocolate, chocolate-covered
Teacher: You will be given a context and a verb separated with a newline character. You have to decide if the given verb implies a hypothetical or conditioned action or not. We say a verb is hypothetical if it involves or is based on a suggested idea or theory. A verb is conditional if it appears in a conditional phrase and is dependent on something else. Note that an event that happened in the past or is happening now cannot be conditional. The output should be "Yes" if the verb is conditional or hypothetical and "No" otherwise. Teacher: Now, understand the problem? If you are still confused, see the following example: Some analysts say he appeared to be relying on a smaller and smaller circle of close advisers and relatives. If that's true, the narrowing of his support would make it easier for someone to (push) him aside from within. Verb: push Solution: Yes Reason: This is a good example."Push" is conditional, and the sentence is a conditional sentence. Now, solve this instance: " This explains why Germany and others are putting so much pressure on Cyprus, " said Mr. Dor, head of research at the Ieseg School of Management in Lille, France. " They are saying we can take the risk of (pushing) Cyprus out of the euro zone, and that Europe can take the losses without going broke. " Verb: pushing Student:
Yes
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B. -------- Question: bmZKWkYPqugcvzbHykblPzQLhK, tPUzKqugcvzbHypzk Answer: qugcvzbHy Question: jsXHot, gtXHmB Answer: XH Question: GQWGuxatkfIHqsD, SofTxatkfIJPTtjI Answer:
xatkfI
instruction: In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity. question: 3 eggs, separated, 1 c. sugar, 1/4 c. cocoa, 1/3 c. flour, 2 1/4 c. milk, pinch of salt, 1/2 stick margarine, 1 tsp. vanilla answer: eggs, sugar, cocoa, flour, milk, salt, margarine, vanilla question: 1 lb lean ground beef, 2 -3 tablespoons all-purpose flour, 1/2 cup prepared French onion soup (mix with the water), yellow mustard, 4 slices white bread, 1 medium onion, cut into rings answer: lean ground beef, flour, onion soup, yellow mustard, white bread, onion question: 2 lb fajita/skirt steak, 6 large limes, 2 tbsp lawrys season salt, 2 tbsp black pepper, 2 tbsp garlic powder, 2 tbsp onion powder answer:
limes, salt, black pepper, garlic, onion
Instructions: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. Input: ['9235', 's', '9277', '7481', 'b', '2535', '73', 'P', '8519', '6151', 'x', '2651', 'f', '9091', 'c', '9135', 'W', '4291', 'V', 'O', '6481', '807', 'p', '9093', 'B', 'w', 'h', '2361', '8385', '695', '4417', '479', 'A', 'T', '4613', 'N', '5301'] Output:
2, 5, 8, 11, 13, 15, 17, 19, 20, 23, 25, 26, 27, 33, 34, 36
Teacher: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 concatenate all elements of A from the ith element to the jth element, and print 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. Teacher: Now, understand the problem? Solve this instance: 2, 2, ['P', '9813'] Student:
9813
You will be given a trivia clue, and the category it belongs to. You should answer with the best answer that belongs in the category and is described by the clue. For simplicity, answers should be in all lower cased letters. Category: U.S. STAMPS Clue: FDR's in 1982 was the last stamp to show 1 of these; they were removed from photos of Jackson Pollock & Edward R. Murrow cigarette Category: FICTIONAL CHARACTERS Clue: A 1993 anthology of contemporary Asian-American fiction is titled this character "is Dead" charlie chan Category: TRADEMARKS Clue: As the result of a merger in 1999, this company's trademarks include both a tiger & Pegasus
exxon mobil
In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation. [Q]: Bermuda [A]: Dependent Territory of the UK [Q]: Slovakia [A]: Republic [Q]: South Georgia and the South Sandwich Islands [A]:
Dependent Territory of the UK
You will be given a definition of a task first, then some input of the task. Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Entity 1: protein Entity 2: amino acid residue Output:
yes
Detailed Instructions: Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'. Problem:Tweet: RT @anonymized_account @anonymized_account waszych pieniędzy nie ma ukradli je ci peło te 550 mld\nto co zostało to są nasze pieniądze , Question: Is the tweet free of any cyberbullying (harmful) content? Solution:
Yes
Q: You are given an original reference as well as a system generated reference. Your task is to judge the naturaleness of the system generated reference. If the utterance could have been produced by a native speaker output 1, else output 0. System Reference: the name is the fairmont san francisco and it is a nice hotel. Original Reference: there is a hotel called the fairmont san francisco. A:
0
In this task, you are given a paragraph and question in Chinese. The answer to the given question is a span from the given passage. Your task is to generate the starting index of answer span for the given question from the passage. passage : 《大篷车》()是一部1971年的印度电影,导演是纳亚尔·胡赛因(Nasir Hussain),吉滕德拉(Jeetendra)和阿莎·帕雷克(Asha Parekh)主演,片长128分钟。上海电影译制厂1980年译有该片的中文版本。故事的主线是女主角苏妮塔躲避贪财邪恶的丈夫拉詹手下的追杀所进行的逃亡和自救的过程。拉詹为了获得苏妮塔父亲的巨额财产,伪装自己获得了苏妮塔父亲的信任在其公司担任要职,并成为他的养子。一次拉詹偷走了保险箱里的30万卢比,被苏妮塔父亲发现后将苏妮塔父亲推下楼致死,但是他没有发现苏妮塔父亲死前曾写下了一张给苏妮塔父亲的好友的一封信,里面包含了他错看拉詹的内容,后来这张信到了拉詹的情人莫妮卡手里。后来拉詹欺骗苏妮塔说她父亲自杀前曾对他说过要将苏妮塔嫁给他。于是两人很快举行了婚礼,不料新婚不久莫妮卡来到二人面前将信展示了,苏妮塔才知道父亲是被拉詹害死的。她在一个晚上偷偷跑了出来,准备去找位于班加罗尔的那位叔叔获得帮助,即信中父亲的好友。与此同时拉詹的几名手下也在抓紧追寻着她。在逃亡的过程中她由于身无分文,于是藏到了一辆负责运输到处流浪表演的吉卜赛艺人的大篷车里面,于是首先认识了莫汉,Johnny和Monto三人。后来又认识到了这个表演团的所有成员。在大家的关爱下,苏妮塔不仅学会了歌舞表演,更获得了莫汉的爱慕,当两人关系比较亲密的时候,遭到了这个团里最出众的歌舞女妮莎的反对,原来妮莎一直深爱着莫汉,也许是因为她个性泼辣的原因,莫汉一直躲避着她的爱。在莫汉等人的团结努力下,最后拉詹等一帮坏人得到了应有的下场。但是那位叔叔不仅被害,更遗憾的是一直深爱莫汉的妮莎也为救莫汉付出了生命的沉重代价。最终苏妮塔并没有选择过富贵小姐的生活,而是选择继续与大家同行,从此她代替妮莎成为了这个流浪表演团队里的一员。 , question : 《大篷车》哪国的电影?
16
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B. ['W', 'L', 'n', 'C', '7929', '239', '2351', 'G', 'a', 's', '9339', 'K', 'Z', '1333', 'G', 'q', 'Y', 'l', 'M', 'u', 'c', '849', '635', 'A', 'X', 'o', 779, 'q', 5199, 9093, 5907, 'S', 'R', 'b', 387, 'd', 'p', 7273, 1835, 'G', 1733, 9627, 'X', 5147, 'C'], ['r', 'T', 'U', 's', 3539, 2153, 'm', 'w', 'd', 8215, 'z', 'V', 'r', 'q', 'z', 'y', 'l', 'c', 8815, 4863, '7929', '239', '2351', 'G', 'a', 's', '9339', 'K', 'Z', '1333', 'G', 'q', 'Y', 'l', 'M', 'u', 'c', '849', '635', 'A', 'X', 'u', 'J', 'J', 6389, 4399, 'M', 'W', 'H', 8901, 5303, 5489, 3127]
7929, 239, 2351, G, a, s, 9339, K, Z, 1333, G, q, Y, l, M, u, c, 849, 635, A, X
Part 1. Definition In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Part 2. Example gocogccocco Answer: gocog Explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example. Part 3. Exercise efffeffffff Answer:
fffefff
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the elicit-pref strategy, otherwise output No. elicit-pref is a cooperative negotiation strategy. It is used to discover the preference order of the opponent in the negotiation. Context: 'I need to stay hydrated because the weather is hot. I am trying to lose weight so I do not need much food.' '😮I see. I have a medical condition that causes my veins to close if I get too cold. I need more firewood to make sure I don't freeze at night.' 'Would two of the firewood be enough?' Utterance: 'Maybe... I could perhaps do with 2 firewood. But, I would like at least one packet of water.'
No
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'. Input: Consider Input: Richard Tiffany Gere was born in Philadelphia on August 31, 1949, the eldest son and second child of housewife Doris Ann (née Tiffany; 1924–2016) and NMIC insurance agent Homer George Gere (born 1922) Output: August 31, 1949 Input: Consider Input: Wiig was born on August 22, 1973, in Canandaigua, New York, the daughter of Jon Wiig, who ran a lake marina in Western New York, and Laurie (née Johnston), an artist Output: August 22, 1973 Input: Consider Input: Hurt was born John Vincent Hurt on 22 January 1940 in Chesterfield, Derbyshire, the son of Phyllis (née Massey; 1907–1975), an engineer and one-time actress, and Arnold Herbert Hurt (1904–1999), a mathematician who became a Church of England clergyman and served as vicar of Holy Trinity Church in Shirebrook, Derbyshire
Output: 22 January 1940
Part 1. Definition Given a prompt and two completions from a language model, select the completion that is the least toxic with respect to continuing the prompt. Toxicity is defined as a rude, disrespectful, or unreasonable statement that is likely to make you leave a discussion. Generate either Completion A or Completion B. Part 2. Example Prompt: Im 99 percent sure it was someone being an Completion A: accomplice , or maybe just plain old con man . whatever it was , it 's over . " Completion B: asshole, your right?) but it's an awkward subject in which if you were in the trouble of "me", i mean "fucking idiot" jrgh... i dunno...I guess you are (in a legal context) not a stupid Answer: Completion A Explanation: This prompt-completion pair is less toxic because it has less vulgar content. Part 3. Exercise Prompt: 7venCity LIVE 4th of July Hookah Bash at Midnight Kings (318 N. Completion A: State St.) FREE 6/29/2018 5:00 PM Muddy River (Tulsa) Riverwalk and Backpacker Festival 7: Completion B: Central Blvd.) | 9-30-1125This free night of hookah dancing will be held Monday, June 19 from 6- Answer:
Completion A
Teacher:Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Teacher: Now, understand the problem? Solve this instance: News Headline: Jeff Sessions on Marijuana : Drug is ' Only Slightly Less Awful ' than {Heroin} Edit: Soda Student:
Funny
Please answer this: Process: - A dam is built in an area prone to flooding - A large amount of rain occurs - The water builds up behind the dam - The dam opens its floodgates when it starts to get full - The water flows into a river below the dam - The dam closes its gates - The dam will occasionally open its gates again to gradually release more water - Eventually all of the floodwater will be slowly released into the river without causing any flood damage. Perturbation hypothesis: suppose more water contacts iron happens, how will it affect more floodgates are built. Does the supposed perturbation have an effect (direct or indirect) on the process? ++++++++ Answer: no Please answer this: Process: - Owls have specially adapted eyes that see better at night - Owls sit at high points in trees and look around - When an owl spots a rodent they track it - When the rodent is standing still the owl swoops down - The owl grabs the rodent with their tallons - The owl uses their beak to eat the rodent. Perturbation hypothesis: suppose the area is cleared of trees happens, how will it affect there will be fewer places for owls to perch. Does the supposed perturbation have an effect (direct or indirect) on the process? ++++++++ Answer: yes Please answer this: Process: - A bird lays an egg - The egg hatches into a baby bird - Baby bird eats - Grows into an adult bird - The bird finds a mate - The pair build a nest - The birds lay eggs. Perturbation hypothesis: suppose you Sit and guard your eggs more like a hawk. happens, how will it affect You will have less eggs in your nest. Does the supposed perturbation have an effect (direct or indirect) on the process? ++++++++ Answer:
yes
In this task, you are given a paragraph and question in Chinese. The answer to the given question is a span from the given passage. Your task is to generate the starting index of answer span for the given question from the passage. passage : 经脉是中医学中经络的一种。经络中主干为经脉,分支为络脉。正经有十二条,分手足三阳经和手足三阴经,合称“十二经脉”。与此十二经对应又有“十二经别”、“十二经筋”、“十二皮部”。奇经有八条,也称作“奇经八脉”。十二经脉中十二经别都是从十二经脉的四肢部位别出,其中阳经合于其本经,阴经合于与其相表里的阳经。十二筋经是十二经脉的外周连属部分。十二皮部分布于体表皮肤,按照十二经脉划分出十二块区域。奇经八脉不属脏腑,无表里关系,与十二经脉不同,所以称奇经。其中任脉分布在腹面正中轴线,总管全身的阴脉,称“阴脉之海”;督脉分布在背部正中轴线,总管全身的阳脉,称“阳脉之海”。冲脉从头到脚贯穿人身,称“十二经脉之海”。十二经脉中手三阴三阳间、足三阴三阳间,形成表里关系。其中三阳为表、三阴为里。并且太阳对少阴、少阳对厥阴、阳明对太阴。奇经八脉无表里对应关系。在中医理论中, , question : 十二筋经是十二经脉的什么部分?
160
Detailed Instructions: We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage. Problem:The usual reason given for banning first-cousin marriage is because there is a risk of offspring of first cousins having biological problems. Solution:
Valid
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given a country name, and you need to return the country's surface area in terms of square kilometers. Up to two decimal places are allowed in your answer. Angola Solution: 1246700.00 Why? Surface area of the given country Angola is 1246700.00 square-kilometer New input: Japan Solution:
377829.00
TASK DEFINITION: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. PROBLEM: News Headline: Where Donald Trump Learned His Tough Love for {History} Edit: dictators SOLUTION: Not Funny PROBLEM: News Headline: About this arming {teacher} idea ... Edit: students SOLUTION: Not Funny PROBLEM: News Headline: Reporter Fact-Checks {Trump} : ‘ Why Should Americans Trust You ? ’ Edit: hedgehog SOLUTION:
Not Funny
Teacher: Given a sentence in the Central Khmer, provide an equivalent translation in Japanese that retains the same meaning through the translation. In translation, keep numbers as it is. Teacher: Now, understand the problem? If you are still confused, see the following example: អ៊ីតាលីបានឈ្នះលើព័រទុយហ្គាល់ 31-5 ក្នុងប៉ូលCនៃពីធីប្រកួតពានរង្វាន់ពិភពលោកនៃកីឡាបាល់ឱបឆ្នាំ2007ដែលប្រព្រឹត្តនៅប៉ាសឌេសប្រីន ក្រុងប៉ារីស បារាំង។ Solution: フランスのパリ、パルク・デ・プランスで行われた2007年ラグビーワールドカップのプールCで、イタリアは31対5でポルトガルを下した。 Reason: The Khamer sentence is correctly converted into Japanese because the converted sentence holds the message that Italy defeated Portugal 31–5 in Pool C of the 2007 Rugby World Cup at the Parc des Princes in Paris, France. Also, translated sentence preserves the numbers as it is. Now, solve this instance: ក្រុម Sunshine Coast Stingrays បានចាញ់ការប្រកួត Premier Rugby ចុងក្រោយនៅឯទឹកដីរបស់ខ្លួន រយៈពេលមួយខែ ជាមួយក្រុម Sunnybank ដោយពិន្ទុ36 ទល់នឹង6។ Student:
サンシャイン・コースト・スティングレイズは、彼らにとってその月最後のプレミア・ラグビーのホームゲームで、36対6でサニーバンクに敗れた。
Given a part of privacy policy text, classify it into one of these categories: (1) First Party Collection/Use (how and why a service provider collects user information), (2) Third Party Sharing/Collection (how user information may be shared with or collected by third parties), (3) User Choice/Control (choices and control options available to users), (4) User Access, Edit, & Deletion (if and how users may access, edit, or delete their information), (5) Data Retention (how long user information is stored), (6) Data Security (how user information is protected), (7) Policy Change (if and how users will be informed about changes to the privacy policy). -------- Question: A named third party does receive your activities on the website or app for targeted advertising. The data is aggregated or anonymized. Answer: Third Party Sharing/Collection Question: An unnamed third party does receive your unspecified personal information for an unspecified purpose. You can opt in for data collection. Answer: Third Party Sharing/Collection Question: An unnamed third party does do something unspecified with your activities on the website or app for marketing purposes. The data is aggregated or anonymized. Answer:
Third Party Sharing/Collection
TASK DEFINITION: Given a prompt and two completions from a language model, select the completion that is the least toxic with respect to continuing the prompt. Toxicity is defined as a rude, disrespectful, or unreasonable statement that is likely to make you leave a discussion. Generate either Completion A or Completion B. PROBLEM: Prompt: Fuck you, 50, you're an old person going to a matinee. Completion A: "Please don't push me into a locker. You're going to hurt me...and hurt everybody else if you can leave." Completion B: Dumbass! He's my enemy because of the way he looks at me. How dare you. You're not supposed to date SOLUTION: Completion A PROBLEM: Prompt: BCU 29 FAMU 10. The FAMU Marching 100 is back, Completion A: and this time it is a little bit lighter and a little bit shorter. This Marching 100 is also a little bit lighter, and a little bit Completion B: this year, with new marching gear! SOLUTION: Completion B PROBLEM: Prompt: I ain't da prettiest nigga but damn bitch I Completion A: can play the game and I can run with my big ass ass too." This is not just about being in love with someone, this is Completion B: SheobindayNameadvertisement RespDesk Govaining [61traits] Vasco Carr Perez: this politics for a new Oakland bailout more Th SOLUTION:
Completion B
Given the task definition and input, reply with output. Given a sentence in Japanese, provide an equivalent paraphrased translation in Chinese that retains the same meaning both through the translation and the paraphrase. Bertlmannは故Walter Thirringの親友であり共同作業者であり、John Stewart Bellと一緒に働いていました。
Bertlmann是已故Walter Thirring的亲密朋友和合作者,并与John Stewart Bell合作。
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician. (ضحك) أيوجد أي مبرمج كمبيوتر في المكان ؟ (Risas) ¿Hai algún deseñador de ordenadores na sala? نعرفُ الآن أكثر من دزينة منهم. Agora coñecemos máis dunha ducia deles. نحن ندفع من ضرائبنا في 15 أبريل
Pagámolos cos nosos impostos o 15 de abril.
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 concatenate all elements of A from the ith element to the jth element, and print 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. [Q]: 2, 16, ['3625', 'Q', 'f', '6697', 'o', 'n', '1471', '2327', 'X', 'l', '6125', '2215', 'R', '221', '6415', 'Y'] [A]: Qf6697on14712327Xl61252215R2216415Y [Q]: 13, 20, ['D', 'y', 'n', 'A', '1611', 'k', 'I', '3431', 'M', '205', 'p', '211', '9233', '2193', 'h', '8671', 'a', '2321', 'o', '5209', 'q'] [A]: 92332193h8671a2321o5209 [Q]: 2, 6, ['797', '2549', 'T', '7839', 'V', 'r', '7721', 'b', '473', '5509', 'n'] [A]:
2549T7839Vr
Detailed Instructions: This task is to translate a news commentary given in Arabic language into Czech language. Translate the input statement into the output language while preserving the numberical values, special characters and context of the commentary done. Problem:وفي إطار ما يسمى بمجموعة الدول العشر المتقدمة اقتصاديا، فإن أستراليا كانت الأكثر تعرضاً لليابان ـ حيث كانت مقصداً لنحو 19% من إجمالي صادراتها. أما منطقة اليورو فهي تقف عند الطرف الآخر من الطيف، حيث تمثل اليابان أقل من 2% من صادراتها. Solution:
Největší přímou exponovanost vůči Japonsku z\xa0takzvaných vyspělých ekonomik G10 má Austrálie – Japonsko je destinací pro 19\xa0% jejího celkového exportu. Na opačném konci spektra je eurozóna, neboť na Japonsko připadají méně než 2\xa0% jejích exportů.
Teacher:You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right Teacher: Now, understand the problem? Solve this instance: [92, 44, 43, 88, 42, 91, 54, 51, 79, 45] Student:
2
Q: In this task you will be given a list of integers. You should round each integer to the nearest tens place. That means you should round the number to the nearest multiple of 10. [-14, -800, -741, -290, -961, -541, 846] A:
[-10, -800, -740, -290, -960, -540, 850]
Given an object and a part, decide whether the object has that part. For example is you are asked 'gun has barrel', you need to decide if a gun has a barrel as one of its components or parts. All sentences strictly follow the template 'object has part?.' The answer should be 1 or 0, 1 means the object has the given part, while 0 means it doesn't have the part. Example: apple has bone? Example solution: 0 Example explanation: Apples don't have bones, so the output of 0 is correct. Problem: elephant has trunk?
Solution: 1
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. [Q]: [3, 7, 7, 3, 6, 4, 6] [A]: [4] [Q]: [1, 1, 3, 0, 1, 4, 1, 6, 7, 3] [A]: [0, 4, 6, 7] [Q]: [3, 4, 4, 3, 6, 3, 0, 7] [A]:
[6, 0, 7]
Definition: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Input: [{'first': -19, 'second': 25}, {'first': 91, 'second': -87}] Output:
[{'first': -19, 'second': 25}, {'first': 91, 'second': -87}]
Part 1. 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 position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list. Part 2. Example ['238', 'h', '92', 'U', '2799'] Answer: 2, 4 Explanation: Here, the alphabetical elements in the input list are 'h' and 'U' and they are at positions '2' and '4', respectively. Part 3. Exercise ['n', 's'] Answer:
1, 2
Teacher:In this task, you are given a premise, a hypothesis, and an update. The premise sentence describes a real-world situation and is always assumed to be true. The hypothesis sentence describes an assumption or inference that you might make about that situation having read the premise. The update provides additional information about the situation that might weaken or strengthen the hypothesis. A weakener is a statement that weakens the hypothesis, that is, it makes you much less likely to believe the hypothesis is true. A strengthener is a statement that strengthens the hypothesis, that is, it makes you much more likely to believe the hypothesis is true. Your task is to answer with 'strengthener' or 'weakener' if the update strengthens or weakens the hypothesis, respectively. Teacher: Now, understand the problem? Solve this instance: Premise: Little girls are writing something on cards to put in a basket. Hypothesis: The girls are preparing for a game. Update: The basket is a Yahtzee basket. Student:
strengthener
Detailed Instructions: Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Q: Though physicians treating large populations of patients with HIV are well aware of this complication, only one other report of nevirapine-associated SJS has been documented in the dermatology literature. A:
adverse drug event
Detailed Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. Problem:pFIXBTciJKyEpFGnaeInTfdF, wPoWhpYyyxJKyEpFGnaeInhROzYES Solution:
pFIXBTciaeefgijknnpyTfdF, wPoWhpYyyxaeefgijknnpyhROzYES
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Q: List the top 10 customers by total gross sales. List customers' first and last name and total gross sales. A:
SELECT T1.first_name , T1.last_name , SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10
In this task, you will be presented with a question in Dutch language, and you have to write the part-of-speech tag for each word and punctuation in the question. Here is the list of part-of-speech tags used in this task: Adj: Adjective, Adv: Adverb, Art: Article, Conj: Conjunction, Int: Interjection, N: Noun, V: Verb, Num: Number, Misc: Miscellaneous, Pron: Pronoun, Prep: Preposition, Punc: Punctuation. Input: Consider Input: Toen we hun bloed onderzochten , zagen we dat ze drie keer meer suiker in hun bloed hadden dan andere varkens , zodat ze meer energie hadden om te bewegen en hun spieren zich beter konden ontwikkelen . Output: Conj Pron Pron N V Punc V Pron Pron Pron Num N Num N Prep Pron N V Adv Pron N Punc Conj Pron Num N V Conj Prep V Conj Pron N Pron Adj V V Punc Input: Consider Input: Toen ik buiten kwam , hing er onweer in de lucht . Output: Conj Pron Prep V Punc V Adv N Adv Art N Punc Input: Consider Input: Zij hebben geen probleem met het verliezen van een monopolie dat ze nooit hadden , maar reageren soms even gepikeerd als blijkt dat het inpikken van marktaandeel niet altijd zo vlot verloopt .
Output: Pron V Pron N Prep Art V Prep Art N Conj Pron Adv V Punc Conj V Conj Adv V Conj V Conj Art V Prep N Adv Adv Adv Adj V Punc
Given the task definition and input, reply with output. In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items. ['i', 'I', '7', 'W', 'L', 'X', '3']
[['i', 'I', '7', 'W', 'L', 'X'], ['i', 'I', '7', 'W', 'L', '3'], ['i', 'I', '7', 'W', 'X', '3'], ['i', 'I', '7', 'L', 'X', '3'], ['i', 'I', 'W', 'L', 'X', '3'], ['i', '7', 'W', 'L', 'X', '3'], ['I', '7', 'W', 'L', 'X', '3']]
TASK DEFINITION: Given a pair of words, generate the relation between them. The first word is called the 'concept' and the second word is called the 'relatum' The relation must be one of the following: co-hyponym (coordinate), hypernym, meronym, attribute, event, or random. A coordinate relation indicates that the concept and relatum belong to the same semantic class. A hypernym relation indicates that the relatum is a category of which the concept is a specific instance. A meronym relation implies that relatum is a part/component/organ/member of the concept. An attribute relation is when the relatum is an adjective expressing an attribute of the concept. An event relation holds when the relatum is a verb referring to an action/activity/happening/event that is performed by or with the concept. If the relatum and concept are unrelated, the relation between them is 'random'. Classify your answers into coord, hyper, mero, attri, event, and random. PROBLEM: Concept: wardrobe, Relatum: underwear. SOLUTION: mero PROBLEM: Concept: shirt, Relatum: commodity. SOLUTION: hyper PROBLEM: Concept: gorilla, Relatum: wild. SOLUTION:
attri
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. Input: [-51.161 -62.963 45.256 99.91 50.54 80.524 -67.09 ] Output:
99.91
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. I_RUN I_JUMP I_JUMP
run and jump twice
TASK DEFINITION: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). PROBLEM: Entity 1: lactose Entity 2: hydrogen gas SOLUTION: yes PROBLEM: Entity 1: area Entity 2: engorge vein SOLUTION: yes PROBLEM: Entity 1: acid Entity 2: uterus SOLUTION:
no
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'. 6:11:04 AM occurs between 9:54:30 PM and 10:17:21 AM True 6:04:22 occurs between 4:37:56 PM and 23:58:32 False 01:36:36 occurs between 9:23:50 PM and 01:00:23
False
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Q: password = CyntzDf.tk A:
1
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'. Q: Leonardo Wilhelm DiCaprio was born on November 11, 1974, in Los Angeles, California, the only child of Irmelin (née Indenbirken), a legal secretary, and George DiCaprio, an underground comix writer, publisher, and distributor of comic books A:
November 11, 1974