UVa 458 - The Decoder

458 - The Decoder

 * http://acm.uva.es/p/v4/458.html

Summary
"Decode" an "encrypted" message using "simple arithmetic."

Explanation
Think ROT13 only 7.

Gotcha's
Be careful with newlines and integer wraparound.

Input
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

Output

 * 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.