architect_name = input()
nums_projects = int(input())

time_ptojects = nums_projects * 3

# •	"The architect {името на архитекта} will need {необходими часове} hours to complete {брой на проектите} project/s."
print (f"The architect {architect_name} will need {time_ptojects} hours to complete {nums_projects} project/s.")