#include <stdio.h>
#include <iostream>
int thirds(int x){
return x + 1;
}
template <typename T, typename B, typename L>
int hello(T x, B y ,L z ){
int first = x + 1;
int second = y + 1;
int third = z(5);
return first + second + third;
}
int add(){
return hello(1,1, thirds(int y));
}
int main()
{
std::cout<<add();
return 0;
}