#!/bin/sh

n=10
if [ -n "$1" ]; then
  n=$1
fi

python3 <<EOF
def f(n):
  return (n if n < 2 else f(n-1) + f(n-2))
print(f($n))
EOF
