You work for a company that produces futuristic gadgets. Your new product is a bio-tracker "Vita-Pulse", which measures the user's "vital energy indicator" every day. At the end of the week, the device generates a final report in the form of a single string. Your task is to write a program that analyzes this report.
The program should extract the user's name and their weekly indicators from the string. Then, using a while loop, it should calculate the average of only positive indicators. A positive indicator means a good, energetic day. Negative indicators (stress, fatigue) and zero values (neutral day) should not be included in the average calculation.
You need to process the input string, convert the numeric data from string type to numeric (you can use a for loop for this), and then use a while loop to find the sum and count of positive indicators to compute the average.
Input format
line (string), which always has the following view: & nbsp; "name: [user name]; indicators: number through a gap]" . For example, & nbsp; Name: Alexey; Indicators: 10 -5 22 0 -12 18 7 .
Output format
The line (string) containing the user name and the average value of its positive indicators. If there were no positive reasons for a week, you need to display a special message.
Example
Input
Name: Elena; Indicators: 15 -4 25 0 10 -8 5
Output
Elena, the average indicator of your life energy for the week: 13.75
Hint
There will be no clue here, decide for yourself!