RETO10MAY - NOTA INFORMATICA

A student wants to know what their grade in informatics, the rating is composed of the following:

  • 70% is the average of 6 qualifications tracking.
  • 20% of the qualification period review.
  • 10% of the rating of the self-assessment.

If the final result of the rating is greater than or equal to 3.0, the material was passed and if the result is less than 3.0 the material was rejected. Make a program to take notes on the screen monitoring, and self-examination period and display on screen the state of matter.

Input

The first six entries correspond to notes of follow-up, the two following notes correspond to exam period and self respectively.

Output

The output should be approved message (Minusculas)

Example

Input:
3
4
2,5
3
3,5
4
3,5
4

Output:
aprobado

Added by:MARATON AFDM
Date:2015-09-24
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:MAWK BC C NCSHARP CSHARP C++ 4.3.2 COFFEE DART FORTH JAVA JS-RHINO JULIA KTLN OCT PHP PROLOG PYPY3 R RACKET SQLITE SWIFT UNLAMBDA

hide comments
2015-09-25 10:06:56 wisfaq
not only a fake question, but also unnecessary language restrictions.
Move to tutorial and hide.
2015-09-25 02:42:23
#include<bits/stdc++.h>
using namespace std;
int main()
{ cout<<"aprobado";
return 0; }

AC.....
2015-09-25 02:40:53
fake question.........
only increasing the points
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.