/**
 * As a Police Officer, you are given a sentence and a keyword.
 * Your task is to write a function that returns 'Urgent' if the keyword is found at the beginning of the sentence.
 * If the keyword is found at the end of the sentence, return 'Important'.
 * Otherwise, return 'Normal'.
 *
 * @param sentence A string containing a sentence.
 * @param keyword A string representing the keyword that needs to be found.
 * @return The importance level ('Urgent', 'Important', or 'Normal') based on the keyword's position.
 */
fun findCase(sentence: String, keyword: String): String {

    return when {
        sentence.startsWith(keyword) -> "Urgent"
        sentence.endsWith(keyword) -> "Important"
        else -> "Normal"
    }
}
/**
 * As a Police Officer, you are given a sentence and a keyword.
 * Your task is to write a function that returns 'Urgent' if the keyword is found at the beginning of the sentence.
 * If the keyword is found at the end of the sentence, return 'Important'.
 * Otherwise, return 'Normal'.
 *
 * @param sentence A string containing a sentence.
 * @param keyword A string representing the keyword that needs to be found.
 * @return The importance level ('Urgent', 'Important', or 'Normal') based on the keyword's position.
 */
fun findCase(sentence: String, keyword: String): String {
/**
 * As a Police Officer, you are given a sentence and a keyword.
 * Your task is to write a function that returns 'Urgent' if the keyword is found at the beginning of the sentence.
 * If the keyword is found at the end of the sentence, return 'Important'.
 * Otherwise, return 'Normal'.
 *
 * @param sentence A string containing a sentence.
 * @param keyword A string representing the keyword that needs to be found.
 * @return The importance level ('Urgent', 'Important', or 'Normal') based on the keyword's position.
 */
fun findCase(sentence: String, keyword: String): String {

    return when {
        sentence.startsWith(keyword) -> "Urgent"
        sentence.endsWith(keyword) -> "Important"
        else -> "Normal"
    }
}