#!/usr/bin/python -u
# vim: fileencoding=utf-8:nomodified:nowrap:textwidth=0:foldmethod=marker:foldcolumn=4:ruler:showcmd:lcs=tab\:|- list:tabstop=8:noexpandtab:nosmarttab:softtabstop=0:shiftwidth=0

import sys

def convert_char(char):
	conversion_dict = {
		'1': '+',
		'2': 'ě',
		'3': 'š',
		'4': 'č',
		'5': 'ř',
		'6': 'ž',
		'7': 'ý',
		'8': 'á',
		'9': 'í',
		'0': 'é',
		'-': '=',
		'_': '%',
		';': 'ů',
		':': '"',
		'\'': '§',
		'"': '!',
		'<': 'M',
		'>': ':',
		'?': '_',
		'`': ';',
		'[': 'ú',
		'{': '/',
		']': ')',
		'}': '(',
	}
	return conversion_dict.get(char, char)

if len(sys.argv) != 2:
	print(f"{sys.argv[0]}")
	print("	bez parametrů vypíše help, parametry ignoruje a převádí stdin na stdout")
	print("	-s převede stdin na stdout, překonvertuje čísla na češtinu")
	print("	příklad: 4e3tina => čeština")
	sys.exit(1)


for line in sys.stdin:
	converted_line = ''.join([convert_char(char) for char in line])
	sys.stdout.write(converted_line)
