407039: GYM102697 010 Points per Game

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

010. Points per Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

Your favorite basketball player is the leading scorer in the country, and you want to know exactly how good they are. Points per game is measured as points divided by games played, and is used to rank leading scorers in basketball.

Input

The first line of input contains a positive integer p indicating the total points scored by the player so far during the season. The second line of input contains a positive integer g indicating the total games played by the player so far during the season.

Output

Output one decimal number ppg, the player's current points per game. This value can be calculated as p / g

ExamplesInput
78
7
Output
11.142857142857142
Input
89
15
Output
5.933333333333334

加入题单

上一题 下一题 算法标签: