using System;
public class Program
{
public static void Main()
int men, menleft, taxi,sit;
men = int.Parse(Console.ReadLine());
sit = int.Parse(Console.ReadLine());
taxi = men / sit;
menleft = men % sit;
Console.WriteLine("there are {0} taxi and {1} leftmen", taxi, menleft);
}