/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

import java.util.Arrays;
import java.util.List;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Integer[] array = {105, 215, 3, 7946};
		Arrays.asList(array).replaceAll(x -> x / 100);
		System.out.println(Arrays.toString(array));
		
		List<String> list = Arrays.asList("hello world");
		list.replaceAll(e -> e.replaceAll(" ", ""));
		System.out.println(list);
	}
}