AOJ 0040 Affine Cipher