Follow me to learn more about children’s programming content
1. Those who love knowledge are better than those who just know; those who love knowledge are better than those who just like it. For those who love programming, please directly output this sentence on the screen.
How Can We Live a Joyful Life
Without Programming Time Limit: 1000
Memory Limit: 65536
Input
This question has no input.
Output
As stated in the title, output in two lines. Note that there are no punctuation marks, and please ensure that the case matches the requirements. Sample Input
None
Sample Output
How Can We Live a Joyful Life
Without Programming

2. Change for a Purchase
The price of an item is A yuan, and you pay B yuan to the merchant. Of course, you know that B cannot be less than A. How much change should the merchant give you?
Time Limit: 1000
Memory Limit: 65536
Input
Input gives two positive integers in one line 0<A≤B≤1000, representing the price of the item and your payment.
Output
Output the amount of change the merchant should give you.
Sample Input
64 100
Sample Output
36

3. Odd and Even Separation
Given N positive integers, please count how many are odd and how many are even?
Time Limit: 1000
Memory Limit: 65536
Input
The first line of input gives a positive integer N (≤1000); the second line gives N non-negative integers, separated by spaces.
Output
Output the count of odd numbers and even numbers in one line, separated by one space.
Sample Input
9
88 74 101 26 15 0 34 22 77
Sample Output
3 6

4. High Emotional Intelligence Weight Calculator
Student Chen Yihan created a small software to complete the assignment given by the teacher and released it for everyone to use. This made her a programmer. Input your weight w, and she will give you the calculation result based on your weight, with the following rules:
If the user’s original weight does not exceed 100, there are two cases: if it is not a multiple of 10, output the result after removing the unit digit; otherwise, reduce the original weight by 10 jin and output it;
For original weights over 100 jin, always output 100.
This question asks you to create a weight calculator similar to Chen Yihan’s work.
Time Limit: 1000
Memory Limit: 65536
Input
The first line of input gives a user-input weight value w, in jin, which is a positive integer not exceeding 500.
Output
Output in one line:<span>Congratulations! Your weight is: x jin</span>, where x is the result calculated according to the rules given in the question. Sample InputSample 1:88Sample 2:90Sample 3:199Sample Output
Sample 1:
<span>Congratulations! Your weight is: 80 jin</span>
Sample 2:
<span>Congratulations! Your weight is: 80 jin</span>
Sample 3:
<span>Congratulations! Your weight is: 100 jin</span>
For more detailed content, please follow the public account and contact me in “I want to attend class”
————————————————