PROGRAMMING:Sum of even bit special sequences
Given a positive integer a no more than 9, given a positive integer n, n is an even number, 4 < = n < = 18, it is required to write a program to find the sum of AA + AAAA + aaaaaaaa +... + AA... A (n a).
###Input format:
Give positive integers a and n no more than 9 in one line.
###Output format:
Output the corresponding sum in one line.
###Input example:
Here is a set of inputs. For example:
```in
1 4
```
###Output example:
The corresponding output is given here. For example:
```out
one thousand one hundred and twenty-two
```
answer:If there is no answer, please comment
```
a,n=input().split()
n=int(n)
total=sum([int(a*i) for i in range(1,n+1) if i%2==0])
print(total)
```
###Input format:
Give positive integers a and n no more than 9 in one line.
###Output format:
Output the corresponding sum in one line.
###Input example:
Here is a set of inputs. For example:
```in
1 4
```
###Output example:
The corresponding output is given here. For example:
```out
one thousand one hundred and twenty-two
```
answer:If there is no answer, please comment
```
a,n=input().split()
n=int(n)
total=sum([int(a*i) for i in range(1,n+1) if i%2==0])
print(total)
```