package org.local.test;
import java.io.*;
public class HW {
		
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		char symbol;
		System.out.println(" ");
		 try {
			symbol=(char)input.read();//TODO  ,     ,       char			
			//System.out.println(symbol);
		}catch ( IOException e){
			System.err.println("During console read the following error occured:\n"+ e.getMessage());	
		}
		 	Char sign="!";//TODO    c?		 	
			String phrase= getLetterH()+
							getLetterE()+
							getLetterL()+
							getLetterL()+
							getLetterO()+
							getLetterW()+
							getLetterO()+
							getLetterR()+
							getLetterL()+
							getLetterD();
		 String letter=swapSymbols(phrase,sign);//TODO    ?         !!!!
		System.out.println(letter);
	}
	private static String swapSymbols(String word, char symbol){
		
		// char to string
		 /*char[] symbols={symbol};
		 String symbolStr= new String(symbols);*/
		 //  +  char to string;
		// char to string
		 /*char[] symbols={symbol};
		 String symbolStr= new String(symbols);*/
		 //  +  char to string
		String denomination ("*");
		word.replaceAll(denomination,Character.toString(symbol)); //TODO   hard-code "\\*"
		return word;
	}
	
		protected static String getLetterO() {
		// TODO Auto-generated method stub
		String letterO=   " * \n* *\n* *\n* *\n * ";
		return letterO;
	}	

	private static String getLetterL() {
		// TODO Auto-generated method stub
		String letterL=   "*  \n*  \n*  \n*  \n***";
		return letterL;
				
	}

	private static String getLetterE() {
		// TODO Auto-generated method stub
		String letterE=   "***\n*  \n***\n*  \n***";
		return letterE;
	}

	private static String getLetterH() {
		// TODO Auto-generated method stub
		 String letterH =   "* *\n* *\n***\n* *\n* *";
		 return letterH;
	}
	
	private static String getLetterR(){
		String letterR=   "****\n* *\n***\n** \n* *";		
		return letterR;
	}

	private static String getLetterW(){
		String letterW=   "* *\n***\n* *";		
		return letterW;
	}	
	private static String getLetterD(){
		String letterD=   "***\n****\n***";			
		return letterD;
	}

	
}	
@@ -277,27 +277,96 @@
 ODO 
- ,     ,       char
+What if user types in console something that won't be able turned into char? f.e '+++'  
 %09%09%09%0D
@@ -557,14 +557,44 @@
 ODO 
-   c?%09
+why has that variable been created? 
 %09 %09%0D
@@ -878,25 +878,117 @@
 ODO 
-   ?         !!!!
+why is the symbol with defined value used here? here should be the symbol which is defined by user in console
 %0D%0A%09%09
@@ -1364,16 +1364,16 @@
 (%22*%22);%0D%0A
+
 %09%09word.r
@@ -1427,33 +1427,8 @@
 l));
- //TODO   hard-code %22%5C%5C*%22
 %0D%0A%09%09

Fix issue with russian symbols. They are swapped into english one.