P11300 [AOJ] Hidden Anagrams
普及
题目描述

Example

Input

anagram
grandmother

Output

4

输入格式

见题面

输出格式

见题面

样例输入
anagram grandmother
样例输出
4