{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"\u003cb\u003eLatent Soft\u003c/b\u003e is a software development company in Bangladesh. They also provide IT professional training on \u003cu\u003eWeb Development, Mobile application development, CCNA\u003c/u\u003e etc. These courses are conducted by skilled and experienced trainers who are working on national and international marketplace. After a successful course completion, they also provide internship facilities where students can work on real life projects in corporate culture to be fully skilled on specific field.\nTo save financial cost of students they always offer various kind of discounts. Recently they added another offer for students. After completing any course, they provide a Course Card to each student. Collecting K Course Cards, a student can do another course for totally free. Course Card will also be provided after that free course.\nConsider that Latent Soft already served N Course Cards to previous N students and will not run any more paid batch of any course. You have to say, how many students Latent Soft will have in total of both paid and free."}},{"title":"Input","value":{"format":"MD","content":"In each line of input, you will be given N and K \u003e 1."}},{"title":"Output","value":{"format":"MD","content":"For each line of input, you have to output how students Latent Soft will have if no more paid course is running."}},{"title":"Sample Input","value":{"format":"MD","content":"\u003cpre\u003e\n4 3\n10 3\n100 5\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"MD","content":"\u003cpre\u003e\n5\n14\n124\u003c/pre\u003e"}}]}