In the framework of PYTHIA8.2 program we considered p-Pb and p-Au heavy ion collisions at the energy of 5.02 TeV and 8 TeV. This
program combines several nucleon-nucleon collisions into one heavy ion collision, based on phenomenological treatment of a hadron as a vortex line in a colour superconducting medium, and treats consistently the central rapidity region with improvements of Glauber-like model where diffractive excitation processes are taken into account. We considered the influence of impact parameter correlations on the particle production cross sections in p-Pb and p-Au collisions to estimate the influence of hard and soft subprocesses on basic hadronic final-state properties in proton-ion collisions. Using these characteristics based on semi-hard multiparton interaction model we received the transverse momentum and rapidity distributions of K-meson and $\Lambda$-baryon at the energy of 5.02 TeV and 8.14 TeV.
