Reverse B

View as PDF

Submit solution

Points: 2
Time limit: 1.0s
Memory limit: 256M

Author:
Problem type

Problem Statement

This problem is worth 2 tokens.

Input Format

Your first and only line will contain a single string consisting of only lowercase English alphabet characters.

Sample Cases

Input 1
grandpa
Output 1
2 1 1 1 1 1
Input 2
abracadabra
Output 2
5 2 1 1 2

Comments

There are no comments at the moment.