已知一個(gè)數(shù)列的前3個(gè)數(shù)為3,4,5,以后每個(gè)數(shù)為前3個(gè)數(shù)的和,編程序求此數(shù)列的第N項(xiàng)
輸入N(N<=35)
求出第N項(xiàng)的值
28
25527448