EasyRating 800
Attendance
Each character is P (present) or A (absent). Print the attendance percentage, rounded down to a whole number.
Input
A string of P and A.
Output
A whole number.
Sample 1
Input
PPAP
Output
75
Sample 2
Input
AAAA
Output
0
Output appears here