import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class Main {
    public static void main(String[] args) {
        List<Integer> numbers = Arrays.asList(3, 44, 7, 12, 0);
        String result = formatNumbers(numbers);
        System.out.println("Input: (3, 44, 7, 12, 0)");
        System.out.println("Output: " + result);
    }

    public static String formatNumbers(List<Integer> list) {
        return list.stream()
            .map(n -> (n % 2 == 0 ? "e" : "o") + n)
            .collect(Collectors.joining(","));
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: