last take home problem output 1432437