/**
 * Codes a word using a psudo-random number generator with a specific seed value
 *
 * @author TK Rogers
 * @version 8-26-11
 */
 
import java.util.Random;
public class CodeGenerator {
 
    public static void main ( String input , long seed ) {
        Random rand = new Random ( seed ) ;
        String codedString = "" ;
       
        // Encodes the string
        for ( int x = 0 ; x < input.length ( ) ; x++ ) {
            codedString += ( char ) ( input.charAt ( x ) + ( int ) ( rand.nextInt ( 64 ) - 32 ) ) ;
        }
       
        System.out.println ( codedString ) ;
    }
}