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