Two lines#8232

Two lines

1 second
64 megabytes
Easy

Given two strings and , find all positions where string occurs as a substring in string .

Input

The first line contains string (1 \leq |A| \leq 10^5).The second line contains string (1 \leq |B| \leq 10^5).

Output

On the first line, print the total number of times that string occurs as a substring in string .On the second line, print the starting positions of each occurrence in increasing order, separated by spaces.

The format of the input and output must match the sample.

Examples

Example 1

Loading
Loading