import java.util.List; 

public class Main { 
    public static void main(String[] args) { 
        apply(List.of(5, 5.0)); 
    } 

    static <T extends Number & Comparable<? extends U>, U extends Number & Comparable<? extends V>, V extends Number & Comparable<? extends W>, W extends Number & Comparable<?>> void apply(List<T> value) {} 
} 