Inexact match#2462

Inexact match

1 second
64 megabytes
Easy

Given two strings and , find all possible occurrences of in as a substring, allowing for at most one character mismatch.

Input

The first line contains the string , and the second line contains the string , where 1 \leq |\textbf{p}|,\, |\textbf{t}| \leq 10^6. Both strings consist of letters from the Latin alphabet.

Output

On the first line, print the number of occurrences where appears in with at most one character mismatch. On the second line, print, in ascending order, the starting indices in where each such occurrence begins. Number the positions starting from .

Examples

Example 1

Loading
Loading