import java.util.*;
 
 
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) 
	{
		Scanner sc=new Scanner(System.in);
		double q,w,e,r,t,y,u,s;
	System.out.println("Enter the total marks");
		u=sc.nextDouble();
System.out.println			("enter the marks of 6 subject");
			q=sc.nextDouble();
			w=sc.nextDouble();
			e=sc.nextDouble();
			r=sc.nextDouble();
			t=sc.nextDouble();
			y=sc.nextDouble();
				s=(y+q+w+e+r+t)*100/u;
				System.out.println("per"+s);
	}
	}