Saturday, April 2, 2022

Email Reminders

 MoEngage helps the Chef send email reminders about rated contests to the participants.

There are a total of N participants on Chef’s platform, and U of them have told Chef not to send emails to them.

If so, how many participants should MoEngage send the contest emails to?

Input Format

  • The first and only line of input will contain a single line containing two space-separated integers N (the total number of users) and U (the number of users who don't want to receive contest reminders).

Output Format

Output in a single line, the number of users MoEngage has to send an email to.

Constraints

  • 1U<N105

Sample Input 1 

100 7

Sample Output 1 

93

Explanation

Out of 100 users, 7 do not want to receive reminders. Hence, MoEngage needs to send email to 93 users.

Sample Input 2 

4456 342

Sample Output 2 

4114

Explanation

Out of 4456 users, 342 do not want to receive reminders. Hence MoEngage needs to send email to 4114 users.

No comments:

Post a Comment

मुझे दिल में बसाना आसान नहीं....

पता है Recently i realised की मुझे दिल में बसाना आसान नहीं है बात-बात पे चिढ़ जाती हूं मैं दिल लगा लूं एक बार तो फिर ज़िद पे अड़...