﻿from random import *

p=0
for i in range(1,3):
    a=random()
    if a<1/2:
        p=p+2
    else:
        p=p+1
print(p)



