fork(2) download
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6.  
  7. Scanner in=new Scanner(System.in);
  8.  
  9. String s, decoded;
  10.  
  11. while (in.hasNextLine()){
  12.  
  13. s = in.nextLine();
  14.  
  15. decoded = "";
  16.  
  17. for (int i = 0; i < s.length(); i++)
  18. {
  19. decoded += (char)(s.charAt(i) - 7);
  20. }
  21.  
  22. System.out.println(decoded);
  23. }
  24. }
  25. }
Success #stdin #stdout 0.1s 380672KB
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.