- 4


do

read fm$, nm$, mt, in, zk fm$, nm$, mt, in, zk

if fm$ = then exit do fm$ =

? fm$, nm$, mt, in, zk (fm$, nm$, mt, in, zk)

loop

input =,b1 ( =,b1)

restore ocenki _ o

? : (:)

n = 0 = 0

do

read fm$, nm$, mt, in, zk fm$, nm$, mt, in, zk

if fm$ = then exit do fm$ =

if mt=5 and in=5 and zk=5 then mt=5 in = 5 zk=5

? fin$, nm$ (fm$, nm$)

n = n + 1 n = n + 1

end if

loop

if n=0 then ? 򻠠 =0 ()

restore ocenki -

? : ( :)

n = 0 = 0

do

read fm$, nm$, mt, in, zk fm$, nm$, mt, in, zk

if fm$ = then exit do fm$ =

sum = mt + in + zk sum = mt + in + zk