fork(2) download
  1. import java.io.BufferedReader;
  2. import java.io.IOException;
  3. import java.io.InputStreamReader;
  4. import java.io.OutputStreamWriter;
  5.  
  6. public class Main {
  7.  
  8. public static void main(String[] args) throws IOException {
  9.  
  10. BufferedReader br = new BufferedReader(new InputStreamReader(System.in, "ISO-8859-1"));
  11. OutputStreamWriter cout = new OutputStreamWriter(System.out, "ISO-8859-1");
  12.  
  13. String input, decoded;
  14.  
  15. while ( (input = br.readLine()) != null) {
  16.  
  17. decoded = "";
  18.  
  19. for (int i = 0; i < input.length(); i++) {
  20.  
  21. decoded += (char)(input.charAt(i) - 7);
  22. }
  23.  
  24. cout.write(decoded + '\n');
  25. cout.flush();
  26. }
  27. }
  28. }
Success #stdin #stdout 0.07s 380160KB
stdin
1JKJ'pz'{ol'{yhklthyr'vm'{ol'Jvu{yvs'Kh{h'Jvywvyh{pvu5
1PIT'pz'h'{yhklthyr'vm'{ol'Pu{lyuh{pvuhs'I|zpulzz'Thjopul'Jvywvyh{pvu5
1KLJ'pz'{ol'{yhklthyr'vm'{ol'Kpnp{hs'Lx|pwtlu{'Jvywvyh{pvu5
stdout
*CDC is the trademark of the Control Data Corporation.
*IBM is a trademark of the International Business Machine Corporation.
*DEC is the trademark of the Digital Equipment Corporation.