use bigint;print$_/3+$_/5<<1for<>