prompt
stringlengths 114
7.32k
| response
stringlengths 1
523
|
---|---|
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'.
Example: Basinger was born in Athens, Georgia, on December 8, 1953
Example solution: December 8, 1953
Example explanation: The output is correct as it is a valid text span, is of minimal length and is the correct date of birth.
Problem: Forest Steven Whitaker was born on July 15, 1961, in Longview, Texas, the son of Laura Francis (née Smith), a special education teacher who put herself through college and earned two master's degrees while raising her children, and Forest E
| Solution: July 15, 1961 |
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.
[-78.399 66.311 -44.797] | -78.399 |
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.
Input: Consider Input: bjjiibbjjjjbji
Output: bjjjjb
Input: Consider Input: bbbabaxxxa
Output: axxxa
Input: Consider Input: pdpppddpppddpdp
| Output: dpppddpppd
|
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Q: x = 8, equation weights = [4, 9, 7]
A: | 335 |
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.
Although the t-AML developed following oral etoposide therapy, the child had previously received high-dose, multiagent chemotherapy, and rearrangement of the MLL gene was not demonstrated. | adverse drug event |
You will be given a definition of a task first, then some input of the task.
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
20:05 Hrs
Output: | 08:05 PM |
Detailed Instructions: 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.
Problem:andnaanddnn
Solution: | dnaand |
You will be given a definition of a task first, then some input of the task.
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
¿cuál es el número de teléfono de "sampan"?
Output: | what is the phone number for " sampan " ? |
Teacher: In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
Teacher: Now, understand the problem? If you are still confused, see the following example:
14/25/1405
Solution: 0
Reason: It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12.
Now, solve this instance: 02/32/1240
Student: | 0 |
instruction:
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
question:
[139, 377, 131, 846, 683, 153, 642, 391, 735, 888, 200, 409, 613]
answer:
[139, 131, 683, 409, 613]
question:
[874, 281, 123, 569, 305, 181, 960, 711, 23, 408, 983, 191]
answer:
[281, 569, 181, 23, 983, 191]
question:
[882, 110, 423, 383, 137, 665, 381, 989, 391]
answer:
| [383, 137]
|
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
clam | seafood |
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Problem:[22, 606, 910, 830]
Solution: | [] |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Input: Consider Input: একটা ভাল মানুষ ছেড়ে একটা নাস্তিক এর সাথে সম্পর্ক এটা আসলে ভালো হলো না।
Output: religious
Input: Consider Input: দূরে গিয়া মর তোরা।নাগরিক কস এখন আর তখন যদি কেউ সরকার বা ক্ষমতাসীন দল গুলোকে নিয়ে মতামত দেয় তখন তোরা আর তাকে নাগরিক বলবি না হয় বলবি রাজাকার নয় বলবি দেশদ্রোহী নয়তো বলবি দলীয় লোক।
Output: non-religious
Input: Consider Input: ফুলবাড়িয়া কলেজ নিয়ে আলোচনার দাবী রাখি । আলোচিত রাজাকার মুসলেম উদ্দিন এডভোকেট এম্পি কুন যুক্তিতে হাজার তিনশ ছাত্রের এম্পিও ভূক্ত ফুলবাড়িয়া বিশ্ববিদ্যালয় কলেজ বাদ দিয়ে ছাত্রীর নব্য চালু করা মহিলা কলেজ সরকারী করলেন তার বিস্তারিত আলোচনা হোক।।
| Output: non-religious
|
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 self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Ex Input:
Context: 'Hi, I would like to get 2 additional packages of food, 2 additional jugs of water, and 1 additional bundle of firewood. I need the additional food because I will have 3 children with me on the trip and one of those being a baby. The baby needs water for her bottles and I need an additional bundle of firewood to warm her bottles.'
Utterance: 'Hi, I appreciate your response. I would like to compromise. I will give you the bundle of firewood you requested as well as the 2 packages of food. However, I would like to get 2 jugs of water. I have 2 other adults with me on this trip and they require more water to stay hydrated than a baby would.'
Ex Output:
No
Ex Input:
Context: 'I need more food since I have a huge family. Can you give me all food i give you all water?'
Utterance: 'i need a little more food because i forgot that we where staying longer and i forgot some of my food. Can i give you 1 food package please? '
Ex Output:
Yes
Ex Input:
Context:
Utterance: 'I need some firewood because I did not bring enough, I was thinking I could take 2 firewood, 1 food, and 2 water. What do you think?'
Ex Output:
| Yes
|
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.
--------
Question: lumaIALINGaKLgkcdcCwqHvUfiefMA, kAKZGnKCcCxFaKLgkcdcCwqHvleOSCNooZl
Answer: lumaIALINGacccdghkklqvwUfiefMA, kAKZGnKCcCxFacccdghkklqvwleOSCNooZl
Question: OHNDLPGxALhRTkjguEqJcKKbExoIY, ThjQhYqgEhdDgALhRTkjguEqJcKKbExotXinSvoOiZSfKniS
Answer: OHNDLPGxabceeghjjkkkloqrtuxIY, ThjQhYqgEhdDgabceeghjjkkkloqrtuxtXinSvoOiZSfKniS
Question: jECxNssMvBlycFvfesbXVTIhVFofGlsPjWVEpSMNhLZa, LmycFvfesbXVTIhVFofGUzCrcTsCe
Answer: | jECxNssMvBlbceffffghiostvvvxylsPjWVEpSMNhLZa, LmbceffffghiostvvvxyUzCrcTsCe
|
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
[Q]: south
[A]: place
[Q]: bowl
[A]: sport
[Q]: up
[A]: | increase
|
Teacher:In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Teacher: Now, understand the problem? Solve this instance: [947, 587, 599, 451, 631, 691, 251]
Student: | [947, 587, 599, 631, 691, 251] |
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.
Example Input: sshfhffshssfh
Example Output: hfh
Example Input: seelllllss
Example Output: lllll
Example Input: kubkkukbuuubbb
Example Output: | buuub
|
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
Input: Consider Input: 03/26/1529
Output: 1
Input: Consider Input: 13/07/1365
Output: 0
Input: Consider Input: 02/32/1240
| Output: 0
|
TASK 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.
PROBLEM: [{'first': 97, 'second': 79}, {'first': -15, 'second': -86}, {'first': -40, 'second': 9}, {'first': 95, 'second': 22}, {'first': 89, 'second': -71}, {'first': 89, 'second': 29}, {'first': -75, 'second': -20}]
SOLUTION: [{'first': -75, 'second': -20}, {'first': -40, 'second': 9}, {'first': -15, 'second': -86}, {'first': 89, 'second': -71}, {'first': 89, 'second': 29}, {'first': 95, 'second': 22}, {'first': 97, 'second': 79}]
PROBLEM: [{'first': -52, 'second': -36}, {'first': 85, 'second': -31}, {'first': 36, 'second': 54}, {'first': 29, 'second': -46}, {'first': -72, 'second': 18}, {'first': -54, 'second': 27}, {'first': -89, 'second': 50}, {'first': 29, 'second': -63}, {'first': -98, 'second': 56}]
SOLUTION: [{'first': -98, 'second': 56}, {'first': -89, 'second': 50}, {'first': -72, 'second': 18}, {'first': -54, 'second': 27}, {'first': -52, 'second': -36}, {'first': 29, 'second': -63}, {'first': 29, 'second': -46}, {'first': 36, 'second': 54}, {'first': 85, 'second': -31}]
PROBLEM: [{'first': 75, 'second': 29}, {'first': 72, 'second': 71}, {'first': 16, 'second': -23}, {'first': -68, 'second': -22}]
SOLUTION: | [{'first': -68, 'second': -22}, {'first': 16, 'second': -23}, {'first': 72, 'second': 71}, {'first': 75, 'second': 29}]
|
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
One example: [1,2,2,3]
Solution is here: 1
Explanation: The array is monotonic as 1 < 2 <= 2 < 3
Now, solve this: [13, 20, 27, 34, 41, 48, 55, 62, 69, 76, 83, 90, 97, 104, 111, 118, 125, 132, 139, 146, 153, 160, 167]
Solution: | 1 |
Teacher:Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Teacher: Now, understand the problem? Solve this instance: direct
Student: | order |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Input: Consider Input: [61, 43, 541, 142, 727, 137, 367, 718, 50, 664, 709, 829, 199, 134, 473, 657]
Output: [61, 43, 541, 727, 137, 367, 709, 829, 199]
Input: Consider Input: [92, 700, 276, 103, 383, 906, 191, 156, 34, 299, 977, 635, 23, 258, 472]
Output: [103, 383, 191, 977, 23]
Input: Consider Input: [967, 739, 295, 958, 724]
| Output: [967, 739]
|
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
[Q]: spoon
[A]: utensil
[Q]: meat
[A]: muscle
[Q]: kill
[A]: | destroy
|
Given the task definition and input, reply with output. In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
[809, 263, 984]
| [809, 263] |
Instructions: 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.
Input: The death penalty is not about only deterrence, but also to say that life will be protected and murder will not be tolerated.
Output: | Valid |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Q: [188.828, 168.327, 106.794, 166.74, 46.687, 25.495, 246.485]
A: [0.199 0.177 0.112 0.176 0.049 0.027 0.26 ]
****
Q: [-71.706, -51.315]
A: [0.583 0.417]
****
Q: [210.366, -21.34, -61.451]
A: | [ 1.649 -0.167 -0.482]
****
|
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 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.
[{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Why? The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
New input: [{'first': -61, 'second': -97}, {'first': -9, 'second': 61}, {'first': -75, 'second': 97}, {'first': 96, 'second': 32}, {'first': 98, 'second': 6}, {'first': -99, 'second': -93}, {'first': -23, 'second': -64}, {'first': 35, 'second': -51}]
Solution: | [{'first': -99, 'second': -93}, {'first': -75, 'second': 97}, {'first': -61, 'second': -97}, {'first': -23, 'second': -64}, {'first': -9, 'second': 61}, {'first': 35, 'second': -51}, {'first': 96, 'second': 32}, {'first': 98, 'second': 6}] |
Given the task definition and input, reply with output. Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
bed
| head |
Given the task definition, example input & output, solve the new input case.
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Example: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
Output: religious
Here it expresses hate against the religion, hence tagged as religious.
New input case for you: এগু লো বি এন পি র বিরু দ্ধে মা হির চক্রান্ত
Output: | non-religious |
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
¿dónde está " thai kitchen "? | where is " thai kitchen " ? |
Detailed Instructions: You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
See one example below:
Problem: 19:00 Hrs
Solution: 07:00 PM
Explanation: For a 24-Hours format time larger than 12:00, we should subtract 12 hours from the given time, then add 'PM'. So, the output is correct.
Problem: 00:10 Hrs
Solution: | 12:10 AM |
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:yuxHtZ, JsxHBr
Solution: | yuhxtZ, JshxBr |
Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Input: x = 3, equation weights = [7, 5, 6, 9, 3]
Output: | 786 |
Given the task definition and input, reply with output. Given the sentence, generate "yes, and" response. "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...'.
Oh my god, what's over your shoulder? It looks just like you.
| It's my twin brother Amos. |
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Example: ¿hay algún restaurante " italian " cerca con opiniones de 3 estrellas?
Example solution: are there any " italian " restaurants nearby with 3 star reviews ?
Example explanation: The translation correctly preserves " italian " entity and is accurate
Problem: busque "billy 's barbecue".
| Solution: search for " billy 's barbecue " . |
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 self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context:
Utterance: 'Hello! It will be so nice to go camping and spend some time in nature during this stressful time.'
No
Context: 'for me. 2 pack of water 2 pack of fire wood and 2 pack of food. ' 'I gotta have one extra of the food or wood at least if you want two water' 'i already reduce my package in water. now what can i do? in my group my wife is cansive and one kid and a old man he is sicked person. so i need this package friend. please friend'
Utterance: 'well. I may be willing to give you two water but i need to have two firewood to boil up some of this lake water to try to drink'
Yes
Context: 'I'm doing pretty well, just preparing for this camping trip.' 'ME as well! we are a group of big eaters, and are looking to take lots of food.' 'That is fair as there is no showers or sinks at my campsite so I am looking to take water :) '
Utterance: 'We will likely also need to take water too. Need to be able to wash up.'
| Yes
|
Definition: 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.
Input: ARDS has been associated with the administration of other monoclonal antibodies, such as infliximab, gemtuzumab ozogamicin, and OKT3 and is believed to be directly mediated by release of proinflammatory cytokines.
Output: | adverse drug event |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Set1: '{1, 2, 4, 6, 10}', Set2: '{9, 10, 20}'. How many elements are there in the union of Set1 and Set2 ? | 7 |
You will be given a definition of a task first, then some input of the task.
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Fact: Plants have specialized reproductive tissues.
Output: | Plants have specialized tissues for what? |
Part 1. Definition
Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. 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.
Part 2. Example
Query: SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .
?x1 ns:people.person.gender ns:m.05zppz .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2 .
FILTER ( ?x0 != ?x1 ) .
FILTER ( ?x1 != M2 )
} Question: Who did M2 's male spouse marry
Answer: 1
Explanation: Query correctly extracts data for male spouse of M2
Part 3. Exercise
Query: SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x1 ns:film.director.film M4 .
?x1 ns:film.director.film M5
} Question: What did a employee and founder of M0 direct
Answer: | 0 |
Detailed Instructions: 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 self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Problem:Context: 'Hmm okay, I am willing to give you three waters! I was hoping to get 3 firewood though, as it's going to be really cold where I am going.' 'seems like we have same priority items. firewood. I also need firewood most because I am prone to pneumonia ' 'Oh no, I'm so sorry to hear that ☹️ Let me ask about the food first then, would you be willing to give me the 3 packages of that? I am going to have a lot of people with me and we won't be near any stores at all.'
Utterance: 'if i give you all the food items, will you give me the firewood?'
Solution: | No |
Detailed Instructions: 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.
Problem:qccqccffcf
Solution: | ccqcc |
Detailed Instructions: 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.
See one example below:
Problem: [-11, 2, 3]
Solution: -11
Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
Problem: [ 71.941 -24.701 -37.61 65.41 -31.781 47.491]
Solution: | 71.941 |
Given the task definition and input, reply with output. In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: Antichrist John Lennon wanted to compete with Jesus Christ , and so he grew a beard and started to make a bogus role of Christ together with Yoko Ono at the Amsterdam Hilton hotel proclaiming " Peace " , being then when he was visited by the Canadian journalist who ridiculized and admonished him wanting to know about what Lennon meant when he wrote in the lyrics of " The ballad of John and Yoko " : " the way things are going , they 're going to crucify me ... " , The CURSE OF GOD upon John Lennon carried on with all type of miseries and distresses which made Lennon give the interview to the " Rolling Stone " magazine ( today condensed in the " Lennon remembers {{ " }} book ) where he speaks about how bad thing were going for him blaming " whatever is up there " for it ( referring to God ) .
Word: "
| '' |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
--------
Question: [521, 579, 647, 383, 266, 41, 698, 886, 839, 888]
Answer: [521, 647, 383, 41, 839]
Question: [967, 195, 783, 773, 347]
Answer: [967, 773, 347]
Question: [79, 186, 41, 727, 431, 44, 440, 901, 607, 363, 239]
Answer: | [79, 41, 727, 431, 607, 239]
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
This task is to find the number of 'For' loops present in the given cpp program.
main()
{
float a[4];
float k;
float c;
int i;
for(i=0;i<4;i++)
{
scanf("%f",&a[i]);
}
scanf("%f",&c);
c=2*3.1415926*c/360;
k=(a[0]+a[1]+a[2]+a[3])/2;
double s,sq;
sq=(k-a[0])*(k-a[1])*(k-a[2])*(k-a[3]) - a[0]*a[1]*a[2]*a[3]*(double)cos(c/2)*(double)cos(c/2);
if(sq<0)
printf("Invalid input");
else
{
s=sqrt(sq);
printf("%.4f",s);
}
}
Solution: 1
Why? The number of 'for' loops in the code is given by the number of 'for' string present in the code. Since we can find the exact number of for loops, this is a good example.
New input: int main()
{
int f(int,int);
int n,a;
cin>>n;
while(n--)
{
cin>>a;
cout<<f(a,a)<<endl;
}
return 0;
}
int f(int m,int k)
{
int i,sum=0;
if(m==1) sum=1;
for(i=m;i>1;i--)
{
if(m%i==0&&i<=k)
sum+=f(m/i,i);}
return sum;
}
Solution: | 1 |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
[EX Q]: [829, 371, 377, 497, 839, 5, 653, 617, 907, 867, 827, 350, 399, 947, 483, 601, 577]
[EX A]: [829, 839, 5, 653, 617, 907, 827, 947, 601, 577]
[EX Q]: [298, 919]
[EX A]: [919]
[EX Q]: [499, 728, 11, 71, 389, 118, 447, 93, 991, 375, 353, 975, 401, 805, 71, 863, 133, 837, 79]
[EX A]: | [499, 11, 71, 389, 991, 353, 401, 71, 863, 79]
|
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.
Q: [{'first': -45, 'second': 74}, {'first': 84, 'second': 82}, {'first': -66, 'second': -38}]
A: [{'first': -66, 'second': -38}, {'first': -45, 'second': 74}, {'first': 84, 'second': 82}]
****
Q: [{'first': 65, 'second': -38}, {'first': -12, 'second': 61}, {'first': -78, 'second': -89}, {'first': -17, 'second': 59}, {'first': 72, 'second': 50}, {'first': -88, 'second': 45}, {'first': -30, 'second': 26}, {'first': -1, 'second': -28}, {'first': 59, 'second': 90}, {'first': -92, 'second': 54}]
A: [{'first': -92, 'second': 54}, {'first': -88, 'second': 45}, {'first': -78, 'second': -89}, {'first': -30, 'second': 26}, {'first': -17, 'second': 59}, {'first': -12, 'second': 61}, {'first': -1, 'second': -28}, {'first': 59, 'second': 90}, {'first': 65, 'second': -38}, {'first': 72, 'second': 50}]
****
Q: [{'first': 16, 'second': 15}, {'first': -66, 'second': 99}, {'first': 32, 'second': -74}]
A: | [{'first': -66, 'second': 99}, {'first': 16, 'second': 15}, {'first': 32, 'second': -74}]
****
|
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Input: Consider Input: x = 0, equation weights = [3, 5, 9]
Output: 9
Input: Consider Input: x = 7, equation weights = [2, 8, 1]
Output: 155
Input: Consider Input: x = 10, equation weights = [9, 6, 3, 8]
| Output: 9638
|
Given the task definition and input, reply with output. 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.
[ -5.211 93.916 -17.618 -82.15 -3.949 51.125 87.336 73.92 -86.062
91. ]
| 93.916 |
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.
--------
Question: jbjwjjwwwwwb
Answer: wwwww
Question: grqqqrqrqgggrg
Answer: rqqqr
Question: amaamjjmaajm
Answer: | aamjjmaa
|
instruction:
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 self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
question:
Context: 'i suggest we put excess in charge of working on proposition because prevention of excess is not a good first step.' 'I don't know what you mean by "prevention of excess." Can you clarify?' 'what i mean by prevention of excess is that we should focus on getting excess and not to limit it regardless of what we already have because if we should offer some creative approaches by excess. we can both come to an agreement if you are interested.'
Utterance: 'Okay. Lets just try to do some negotiation. I am the most interested in getting more WATER. The water I already have at the campsite looks dirty so, if it is okay with you, I would like all THREE of them. My food has also been stolen by bears and I don't make much left, so I would like TWO of the food items. You can have all the firewood and the other food item. How does that sound? 🙂'
answer:
Yes
question:
Context: 'I have a big party with varying degrees of health and I'm going to need every bit of firewood and food I can get my hands on! 🙂' 'hi, we may be in luck then, i really would like water as i enjoy walking and hiking, i will require some firewood though so i can roast some s'mores' 'How many people are in your camping party?'
Utterance: 'i have 6, and 2 more could be joining us to make 8 '
answer:
No
question:
Context: 'Oh ok, that will be great. How about the water? Is 2 for me and 1 for you ok?' 'How about 2 for me 🙂' 'I have 3 kids with me who are always thirsty but we can negotiate for it'
Utterance: 'Ok. Thats fine'
answer:
| No
|
Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Angola
Solution: Republic
Reason: Republic is the government type of the country called Angola.
Now, solve this instance: Bolivia
Student: | Republic |
Instructions: 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.
Input: China
Output: | People's Republic |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Q: দেশটা কি ফেরআউনী রাষ্ট্র হয়ে গেল? কয়দিন পর হয়ত স্বামী-স্ত্রী একসাথে দেখলে নাশকতার অভিযোগে গ্রেফতার করা হবে
A: non-religious
****
Q: একটা তীর ধনুক থাকলে হোগার উপর মেরে দেখিয়ে দিতাম অর্জুন কাকে বলে
A: non-religious
****
Q: ব্যাঙের ছাতার মতো জন্মিয়েছে বাবা জাতির বাবা, পাগলা বাবা, তথ্য বাবা, থুতু বাবা
A: | non-religious
****
|
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
--------
Question: Fact: mammal learn to behave by having fun.
Answer: How do mammals learn to behave?
Question: Fact: Animals carry seeds which is positive for the plant to grow elsewhere.
Answer: Why is it good for animals to carry seeds?
Question: Fact: meteorologists require studying weater.
Answer: | meteorologists require studying what?
|
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 self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Example Input: Context: 'Your needs are like mine. I have a condition that require me to shower quite often. It is a shame but if I do not shower for 3 hours I will stink. ' 'Well fortunately if you are camping that won't be too bad. You'll blend in with the wilderness.' 'My friends will run away. I will not be comfortable either. So how do we split what we have?'
Utterance: 'If they're true friends, they won't. I'll take 2 firewood, 2 water, 3 food.'
Example Output: No
Example Input: Context: 'i suggest we put excess in charge of working on proposition because prevention of excess is not a good first step.' 'I don't know what you mean by "prevention of excess." Can you clarify?'
Utterance: 'what i mean by prevention of excess is that we should focus on getting excess and not to limit it regardless of what we already have because if we should offer some creative approaches by excess. we can both come to an agreement if you are interested.'
Example Output: No
Example Input: Context: 'Hello! How are you doing today?' 'I am doing great' 'Great! For our camping trip, I would love to take all the water and firewood. You can have all the food. '
Utterance: 'I really need the firewood, It gets very very cold at night where I go camping.'
Example Output: | Yes
|
Detailed Instructions: In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
Problem:Guam
Solution: | .gu |
Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Input: size
Output: | spies |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Q: Set1: '{3, 6, 11, 15, 16, 17, 20}', Set2: '{6, 8, 9, 15, 18, 19}'. How many elements are there in the union of Set1 and Set2 ?
A: 11
****
Q: Set1: '{1, 4, 5, 10, 16}', Set2: '{1, 2, 5, 6, 14, 16}'. How many elements are there in the union of Set1 and Set2 ?
A: 8
****
Q: Set1: '{9, 4, 15}', Set2: '{19}'. How many elements are there in the union of Set1 and Set2 ?
A: | 4
****
|
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
--------
Question: Set1: '{1, 6, 9}', Set2: '{1, 7, 12, 15, 16, 18}'. How many elements are there in the union of Set1 and Set2 ?
Answer: 8
Question: Set1: '{1, 5, 6, 12, 13, 14, 17}', Set2: '{3}'. How many elements are there in the union of Set1 and Set2 ?
Answer: 8
Question: Set1: '{1, 11, 20, 7}', Set2: '{19, 15, 7}'. How many elements are there in the union of Set1 and Set2 ?
Answer: | 6
|
Detailed Instructions: 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.
Problem:I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_RUN I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP
Solution: | run around right twice and jump right thrice |
Detailed Instructions: 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.
See one example below:
Problem: gocogccocco
Solution: gocog
Explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Problem: gppqgppqgp
Solution: | pp |
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.
Let me give you an example: [-11, 2, 3]
The answer to this example can be: -11
Here is why: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
OK. solve this:
[ 19.041 50.532 69.464 -21.09 -1.628 84.137]
Answer: | 84.137 |
Given the task definition, example input & output, solve the new input case.
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
Example: Andorra
Output: .ad
.ad is the TLD of the country called Andorra.
New input case for you: Kuwait
Output: | .kw |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Set1: '{17, 2}', Set2: '{11}'. How many elements are there in the union of Set1 and Set2 ?
3
Set1: '{3, 4, 5, 8, 12, 13, 14, 15, 19}', Set2: '{2, 3, 5, 9, 10, 15, 17}'. How many elements are there in the union of Set1 and Set2 ?
13
Set1: '{2, 5, 7, 8, 10, 12, 13, 16, 17}', Set2: '{2, 3, 5, 11, 12, 14, 16, 17, 19, 20}'. How many elements are there in the union of Set1 and Set2 ?
| 14
|
Given the task definition and input, reply with output. 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
[174, 166, 158, 150, 142, 134, 126, 118, 110, 102, 94, 86, 78, 70, 62, 54, 46, 38]
| 1 |
Detailed Instructions: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Problem:Fact: The ability to sense pressure on the body can help clients to heal.
Solution: | What can help clients to heal? |
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: What you get is a $ 13 / day charge to access the internet through a slow 512 / 512 kb / s that you can only use to check email {{ etc }} ( Read : No downloading ) .
Word: etc
FW
Sentence: After a good few minutes , he asked : " {{ what }} do you want ? "
Word: what
WP
Sentence: No silverware , asked for a spoon for my son {{ s }} mac and cheese ended up having to use my tea spoon .
Word: s
| POS
|
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Let me give you an example: crystal
The answer to this example can be: rock
Here is why: A crystal is a type of rock, so rock is a valid hypernym output.
OK. solve this:
form
Answer: | word |
Given the task definition and input, reply with output. Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
A named third party does collect on the first party website or app unspecified information about you for service operations or security. The data is aggregated or anonymized.
| Service operation and security |
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
Input: Consider Input: 11/14/1996
Output: 1
Input: Consider Input: 12/35/1542
Output: 0
Input: Consider Input: 05/09/1322
| Output: 1
|
Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Input: হায়রে ইসলামের দুশমন ভারতের দালাল।তোরা কেন হয়ে গেলি এতো বেশামাল।যেই লোকটার বিরুদ্ধে যুদ্ধ অপরাধের য ছিলনা দায়িত্ব নেওয়ার পর হয়ে গেল যুদ্ধ অপরাধী তোরা দালালি বন্ধ কর নইলে একদিন তোদেরকে এর প্রতিদান পেতেই হবে।
Output: | non-religious |
You will be given a definition of a task first, then some input of the task.
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.
In two patients, apomorphine remained effective in the morning, but increased the intensity of the dyskinesias in the afternoon.
Output: | adverse drug event |
You will be given a definition of a task first, then some input of the task.
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.
This eruption appears to be a distinct cutaneous toxicity of PLD.
Output: | adverse drug event |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
crystal
Solution: rock
Why? A crystal is a type of rock, so rock is a valid hypernym output.
New input: soup
Solution: | dish |
Part 1. 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.
Part 2. Example
[-11, 2, 3]
Answer: -11
Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
Part 3. Exercise
[-32.576 -86.28 ]
Answer: | -86.28 |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
--------
Question: A named third party does do something unspecified with your activities on the website or app for an unspecified purpose.
Answer: Unspecified
Question: An unnamed third party does receive your contact information for marketing purposes. You can opt in for data collection for the use of your information.
Answer: Marketing
Question: An unnamed third party does not receive your unspecified personal information for analytics or research. The data is personally identifiable.
Answer: | Analytics/Research
|
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Let me give you an example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) .
Word: (
The answer to this example can be: -LRB-
Here is why: "(" is the symbol for Left Parantheses (-LRB-).
OK. solve this:
Sentence: When you come to ncfa you will see a real instructor {{ that }} teaches and trains everyday !
Word: that
Answer: | WDT |
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.
Rhabdomyolysis caused by tocolysis with oral ritodrine hydrochloride in a pregnant patient with myotonic dystrophy. | adverse drug event |
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Q: x = 1, equation weights = [6, 0, 2]
A: | 8 |
instruction:
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.
question:
I_JUMP I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT
answer:
jump and turn right thrice
question:
I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK
answer:
walk opposite right after walk
question:
I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_LEFT I_TURN_LEFT I_RUN
answer:
| run opposite left after turn right thrice
|
Definition: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Input: [383, 350]
Output: | [383] |
Given the task definition and input, reply with output. 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 self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context: 'Hey, I am excited to go camping too! Would you mind sharing your top priority items with me so that we can come up with a fair deal? Ideally I would love 3 firewoods, 3 foods, and 2 waters just like you aha. But perhaps we can each get at least 3 packages of our highest priority item ' 'Hmmm, I think I really need the firewood. I brought softwoods and they burn out quickly so I don't think I'll have enough wood to keep me going through the night. I get kinda scared without the fire. What is your priority?' 'Okay, well firewood is also my top priority since it will be so cold tonight. But I would be willing to take only 1 firewood (and give you 2) as long as I got 2 foods and 2 waters '
Utterance: 'Thank you for the offer on firewood. I think that sounds fair. However, I really would like at least 2 waters as well. '
| No |
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.
Example input: gocogccocco
Example output: gocog
Example explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Q: cmcwcmwwwccccw
A: | wccccw |
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Q: movie
A: story
****
Q: photographic
A: detailed
****
Q: probable
A: | likely
****
|
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Input: Consider Input: case
Output: race
Input: Consider Input: jump
Output: rump
Input: Consider Input: evening
| Output: No
|
Part 1. 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 self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Part 2. Example
Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?'
Utterance: 'You can take the two water. I am not that thirsty most days.'
Answer: No
Explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
Part 3. Exercise
Context: 'Hello! I would like more packages of food the most. What are you looking for?' 'I would need water the most as I forgot to bring enough. I can give you all my food for all of you water, if you'd like?' 'That would be amazing! So I could take all 3 packages of the food and you could have all 3 packages of the water. Now, we just need to split the firewood. Could I take 2 of the firewood leaving you with 1? I think I would need more for cooking the food. '
Utterance: 'Awesome! That does sound like a deal. I wish we had more firewood to split because I am afraid it might get cold.'
Answer: | Yes |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Ex Input:
[-7.195, -90.601, -64.015, 69.388, 151.988, -72.281, 164.459]
Ex Output:
[-0.047 -0.597 -0.422 0.457 1.002 -0.476 1.084]
Ex Input:
[161.455, 23.187, 99.444, -13.526]
Ex Output:
[ 0.597 0.086 0.368 -0.05 ]
Ex Input:
[226.693, -61.923]
Ex Output:
| [ 1.376 -0.376]
|
Detailed Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Problem:Another part of the company or institution does receive unspecified information about you for service operations or security. The data is personally identifiable.
Solution: | Service operation and security |
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
[Q]: x = 9, equation weights = [5, 2, 9]
[A]: 432
[Q]: x = 4, equation weights = [0, 9, 2, 5, 6]
[A]: 634
[Q]: x = 0, equation weights = [8, 5, 4]
[A]: | 4
|
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Problem:x = 3, equation weights = [3, 0, 9]
Solution: | 36 |
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
muestra " aunt chilada 's " | show me " aunt chilada 's " |
Given the sentence, generate "yes, and" response. "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...'.
--------
Question: Forgive me, Ma'am. What's your name?
Answer: Murnice. My mother was going to call me Bernice, but she was humming when they got the gift certificate, I mean birth certificate.
Question: So, this ant farm will be a tourist attraction.
Answer: Oh, absolutely! People come to Downy for the train, but don't realize there could be so much more.
Question: I'm sorry I'm late. What did I miss of the donut tour?
Answer: | Well, you missed the sprinkle section, which is where Felix works. Felix is my dad.
|
Given the task definition and input, reply with output. Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site does not collect an information type outside of our label scheme for service operations or security. Collection happens by some means outside of our label scheme.
| Service Operation and Security |
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 self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context:
Utterance: 'Hey, how are you doing today? are you excited to go camping?' | No |
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.
Let me give you an example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy.
The answer to this example can be: adverse drug event
Here is why: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy.
OK. solve this:
The oligohidrosis caused by zonisamide was reversible in that the patient regained the ability to sweat within 2 weeks of the cessation of drug administration.
Answer: | adverse drug event |
Q: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
[477, 888, 513, 577]
A: | [577] |
Detailed Instructions: 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.
Problem:ummhumuuuhuu
Solution: | uuhuu |
Subsets and Splits