/**
 * Given a latitude and longitude, determine the location based on the hemisphere and modulo operation.
 */
fun calculateLocation(latitude: Double, longitude: Double): String {

    // Check if the latitude is in the northern or southern hemisphere
    val hemisphere = if (latitude >= 0) "Northern" else "Southern"

    // Calculate the absolute value of latitude and convert it to a string
    val absLatitude = Math.abs(latitude).toString()

    // Calculate the modulo value for the longitude
    val moduloValue = longitude % 100

    // Determine the location based on the hemisphere and modulo value
    val location = "$hemisphere $absLatitude' N, $moduloValue' E"

    return location
}
/**
 * Given a latitude and longitude, determine the location based on the hemisphere and modulo operation.
 */
fun calculateLocation(latitude: Double, longitude: Double): String {
/**
 * Given a latitude and longitude, determine the location based on the hemisphere and modulo operation.
 */
fun calculateLocation(latitude: Double, longitude: Double): String {

    // Check if the latitude is in the northern or southern hemisphere
    val hemisphere = if (latitude >= 0) "Northern" else "Southern"

    // Calculate the absolute value of latitude and convert it to a string
    val absLatitude = Math.abs(latitude).toString()

    // Calculate the modulo value for the longitude
    val moduloValue = longitude % 100

    // Determine the location based on the hemisphere and modulo value
    val location = "$hemisphere $absLatitude' N, $moduloValue' E"

    return location
}