#include <stdio.h>
#include <stdlib.h>


int main(){

    float R,G;


    printf("please input first rating: ");
    scanf("%f",&R);

    printf("please input second rating: ");
    scanf("%f",&G);

    float avgs = (R + G)/2 ;

    printf("%.2f",avgs);



    return 0;
}
