/* Earl Bergquist Garfield HS
   AP CS Math & Scanners
	Token Tester to see how many tokens a line has, assuming 10 items or less */
import java.util.*;
import java.awt.*;

public class Scan10Tokens {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		// for(int i = 0; i < 10; i++) {
			grabString(s);
		// }
	}
	
	// Prompts the user for two points, plots them and calculates the distance between them
	public static void grabString(Scanner s) {
		System.out.println("Enter the Ten words separated by Tokens (spaces, tabs, new lines): ");
		String x0 = s.next();
		String x1 = s.next();
		String x2 = s.next();
		String x3 = s.next();
		String x4 = s.next();
		String x5 = s.next();
		String x6 = s.next();
		String x7 = s.next();
		String x8 = s.next();
		String x9 = s.next();
		System.out.println("Tokens:" + x0 + "|" + x1 + "|" + x2 + "|" + x3 + "|" + 
		 					  x4 + "|" + x5 + "|" + x6 + "|" + x7 + "|" + 
							  x8 + "|" + x9 + "!" );
	}
}
