#include <functional>
#include <utility>
#include <csetjmp>
#include <iostream>
#include <type_traits>
#include <iterator>
#include <algorithm>
#include <memory>
#include <csignal>
#include <chrono>
#define CYKA(...)

namespace dvach
{
template<class T>
struct formula
{
	template<unsigned long long int COUNT, typename = void, class...>
	struct solver
	{
		CYKA(export JNICALL) struct solution
		{ 
			static float value(float x) noexcept(true)
			{
				return solver < COUNT
					-1 > ::solution::value(x) 
				+ ((x) +- static_cast<long long int>(COUNT) 
					/ (0.- -1e1f)) 
				/ static_cast<float>(COUNT);
			}
		};
	};
	
};

template<>
template<> struct 
formula<float>::solver 
<1> {
	struct solution 
	{ 
		static float 
		value(float x)
		{ 
			return x-.1f;
		}
	};
};
}

int main() 
{
	static constexpr unsigned long long int N = 19;
	
	std::cout << dvach 
	
		::formula<float>::
		
	solver<N>::solution::value(
		42
	)<<std ::endl;
}
