/**
 * This exercise focuses on comparing tuples and accessing elements with nested index in Kotlin.
 * 
 * Given two coordinates (pairs) in the format (longitude, latitude),
 * write a program to determine if the longitude of coord1 is greater than the latitude of coord2.
 * 
 * Return true if the condition is met, otherwise return false.
 * 
 * Example:
 * compareCoordinates(Pair(10, 20), Pair(30, 40)) -> true
 * compareCoordinates(Pair(50, 60), Pair(70, 80)) -> false
 */
fun compareCoordinates(coord1: Pair<Int, Int>, coord2: Pair<Int, Int>): Boolean {

    return coord1.first > coord2.second
}
/**
 * This exercise focuses on comparing tuples and accessing elements with nested index in Kotlin.
 * 
 * Given two coordinates (pairs) in the format (longitude, latitude),
 * write a program to determine if the longitude of coord1 is greater than the latitude of coord2.
 * 
 * Return true if the condition is met, otherwise return false.
 * 
 * Example:
 * compareCoordinates(Pair(10, 20), Pair(30, 40)) -> true
 * compareCoordinates(Pair(50, 60), Pair(70, 80)) -> false
 */
fun compareCoordinates(coord1: Pair<Int, Int>, coord2: Pair<Int, Int>): Boolean {
/**
 * This exercise focuses on comparing tuples and accessing elements with nested index in Kotlin.
 * 
 * Given two coordinates (pairs) in the format (longitude, latitude),
 * write a program to determine if the longitude of coord1 is greater than the latitude of coord2.
 * 
 * Return true if the condition is met, otherwise return false.
 * 
 * Example:
 * compareCoordinates(Pair(10, 20), Pair(30, 40)) -> true
 * compareCoordinates(Pair(50, 60), Pair(70, 80)) -> false
 */
fun compareCoordinates(coord1: Pair<Int, Int>, coord2: Pair<Int, Int>): Boolean {

    return coord1.first > coord2.second
}