View Code of Problem 3496

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);	
		while(scanner.hasNext()) {
			String s = scanner.nextLine();
			String str = s.replace("you","we");
			System.out.println(str);
		}
	}
}

Double click to view unformatted code.


Back to problem 3496