#!/bin/python3 import sys def countArray(n, k, x): # Return the number of ways to fill in the array. if((n-2)