#K79797. Generate Staff Security Code

    ID: 35388 Type: Default 1000ms 256MiB

Generate Staff Security Code

Generate Staff Security Code

You are given a full name consisting of exactly two words: the first name and the last name, separated by a single space.

Your task is to generate a security code based on the following rules:

  • Let \(L\) be the length of the first name. The code starts with \(L\) (in decimal form).
  • For each character \(c\) in the first name, append an asterisk (*) followed by the ASCII value of \(c\).
  • Count the number of vowels (both uppercase and lowercase: a, e, i, o, u) in the last name. Append an asterisk (*) followed by this count.

For example, for the input "John Doe":

  • The first name "John" has length \(4\).
  • The ASCII values of 'J', 'o', 'h', 'n' are 74, 111, 104, 110 respectively.
  • The last name "Doe" contains 2 vowels.

Thus, the generated security code is:

4*74*111*104*110*2

inputFormat

The input consists of a single line containing the full name, which is exactly two words separated by a single space.

outputFormat

Output the generated security code as a single line.

## sample
John Doe
4*74*111*104*110*2