#K82717. Decrypting Messages

    ID: 36038 Type: Default 1000ms 256MiB

Decrypting Messages

Decrypting Messages

Given an encrypted message consisting of digits and letters, decrypt the message by converting each character into its corresponding number separated by a space. Lowercase letters are mapped to their positions in the alphabet: \(a\to1,\, b\to2,\, \dots,\, z\to26\), and uppercase letters are mapped to positions starting from 27: \(A\to27,\, B\to28,\, \dots,\, Z\to52\). Digits remain unchanged.

inputFormat

A single line containing the encrypted message as a string.

outputFormat

Print the decrypted message as a space-separated string of numbers.## sample

abc
1 2 3