using System;
using System.Collections.Generic;
namespace HJ81
{
internal class Program
{
static void Main(string[] args)
{
string shortStr=Console.ReadLine();
string longStr=Console.ReadLine();
if (shortStr.Length > longStr.Length)
{
Console.WriteLine("false");
return;
}
HashSet<char> chars = new HashSet<char>();
foreach (char c in longStr)
{
chars.Add(c);
}
foreach (char c in shortStr)
{
if (!chars.Contains(c))
{
Console.WriteLine("false");
return;
}
}
Console.WriteLine("true");
}
}
}

京公网安备 11010502036488号