using System; using System.Collections.Generic; using System.Linq; using System.Numerics; class Program { static void Main() { int[] AandB = Array.ConvertAll(Console.ReadLine().Split(' '), r => int.Parse(r)); Console.WriteLine(int.Parse((AandB[0] - AandB[1]).ToString().Replace("-", ""))); } }